Title: OOW Custom Menu Shortcode
Author: David OOWPRESS
Published: <strong>آکتوبر 15, 2024</strong>
Last modified: اپریل 22, 2025

---

جستجوی افزونه‌ها

![](https://ps.w.org/oowcode-custom-menu-shortcode/assets/banner-772x250.png?rev
=3283236)

![](https://ps.w.org/oowcode-custom-menu-shortcode/assets/icon-256x256.png?rev=3272066)

# OOW Custom Menu Shortcode

 توسط [David OOWPRESS](https://profiles.wordpress.org/oowpress/)

[دانلود](https://downloads.wordpress.org/plugin/oowcode-custom-menu-shortcode.1.7.zip)

 * [جزئیات](https://fa-af.wordpress.org/plugins/oowcode-custom-menu-shortcode/#description)
 * [نقد و بررسی‌ها](https://fa-af.wordpress.org/plugins/oowcode-custom-menu-shortcode/#reviews)
 *  [نصب](https://fa-af.wordpress.org/plugins/oowcode-custom-menu-shortcode/#installation)
 * [توسعه](https://fa-af.wordpress.org/plugins/oowcode-custom-menu-shortcode/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/oowcode-custom-menu-shortcode/)

## توضیحات

**OOW Custom Menu Shortcode** is a lightweight, versatile plugin that lets you display
WordPress menus anywhere on your site using a simple shortcode. Whether you need
a horizontal navigation bar, a vertical menu, or a styled submenu, this plugin gives
you full control without theme modifications. Create your own unique menu styles
with custom CSS classes or choose from 10 predefined themes for instant styling.
With real-time preview in the Shortcode Assistant and seamless integrations with
Gutenberg, Elementor, Divi, and WPBakery, it’s perfect for beginners and developers
alike.

### Why Choose OOW Custom Menu Shortcode?

 * **Flexible Shortcode**: Use `[oow_custom_menu]` or `[oowcode_custom_menu]` in
   posts, pages, or widgets.
 * **Custom Styling**: Apply custom CSS classes to create unique menu designs tailored
   to your theme.
 * **10 Predefined Themes**: Choose from Modern Horizontal, Dark Mode, Minimalist,
   Retro, and more for quick styling.
 * **Real-Time Preview**: Generate and preview menus with themes in the Shortcode
   Assistant.
 * **Nested Menus**: Display submenus with the `depth` attribute.
 * **Multilingual Support**: Works with WPML and Polylang via the `lang` attribute.
 * **Accessibility**: Add ARIA labels for screen reader support.
 * **Page Builder Integration**: Includes Gutenberg block, Elementor widget, Divi
   module, and WPBakery component.
 * **Customizable Layouts**: Supports inline or list layouts with custom separators.
 * **Performance Optimized**: Loads CSS only when needed and uses API caching.
 * **Modern Admin Interface**: Clean dashboard with light/dark theme toggle.

### Example Shortcodes

 * Basic menu: `[oow_custom_menu name="main-menu"]`
 * Custom styled menu: `[oow_custom_menu name="main-menu" class="my-custom-menu"]`
 * Themed menu: `[oow_custom_menu name="main-menu" theme="dark-mode"]`
 * Inline menu: `[oow_custom_menu name="main-menu" style="inline" separator=" > "]`
 * Nested menu: `[oow_custom_menu name="main-menu" depth="2" theme="modern-horizontal"]`
 * Multilingual menu: `[oow_custom_menu name="main-menu" lang="fr"]`
 * Accessible menu: `[oow_custom_menu name="main-menu" aria_label="Main Navigation"]`
 * Fallback menu: `[oow_custom_menu name="missing-menu" fallback="No menu available"]`

### Available Shortcode Attributes

 * **name** (required): Menu slug (e.g., “main-menu”).
 * **class** (optional): Custom CSS class for styling (e.g., “my-custom-menu”).
 * **theme** (optional): Predefined theme (e.g., “dark-mode”, “retro”).
 * **style** (optional): Layout—`list` (default, vertical) or `inline` (horizontal).
 * **separator** (optional): Separator for inline menus (default: `|`).
 * **depth** (optional): Maximum submenu depth (default: 1, use 0 for unlimited).
 * **aria_label** (optional): Accessibility label (e.g., “Main Navigation”).
 * **lang** (optional): Language code (e.g., “es”).
 * **fallback** (optional): Content if menu doesn’t exist (e.g., “No menu found”).

Explore more at [OOWCODE](https://oowcode.com) or contact [support@oowcode.com](https://fa-af.wordpress.org/plugins/oowcode-custom-menu-shortcode/support@oowcode.com?output_format=md).

### License

This plugin is licensed under the GPLv2 or later. See [License URI](https://www.gnu.org/licenses/gpl-2.0.html)
for details.

### Credits

Developed by [OOWPRESS](https://oowpress.com), powered by [OOWCODE](https://oowcode.com).
Thanks to our community for feedback!

## بلوک‌ها

این افزونه 1 بلوک ارائه می‌دهد.

 *   OOW Custom Menu

## نصب

 1. **Install the Plugin**:
 2.  * Search for “OOW Custom Menu Shortcode” in Plugins > Add New.
     * Or upload the plugin ZIP via Plugins > Add New > Upload Plugin.
     * Click “Install Now” and “Activate”.
 3. **Add the Shortcode**:
 4.  * Use `[oow_custom_menu name="your-menu-slug"]` in posts, pages, or widgets.
     * Find your menu slug in Appearance > Menus.
 5. **Customize**:
 6.  * Use attributes like `class`, `theme`, `style`, or `depth` to match your design.
     * Visit OOWCODE > OOW Menu Shortcode for the Shortcode Assistant and instructions.

## سوالات متداول

### How do I find my menu’s slug?

Go to Appearance > Menus. The slug is a lowercase, hyphenated version of the menu
name (e.g., “Main Menu” becomes “main-menu”).

### How do I create a custom menu style?

Add a `class` attribute: `[oow_custom_menu name="main-menu" class="my-custom-menu"]`,
then style `.my-custom-menu` in your theme’s CSS.

### What’s the difference between [oow_custom_menu] and [oowcode_custom_menu]?

Both shortcodes are identical and provided for branding flexibility.

### How do I apply a theme?

Use the `theme` attribute: `[oow_custom_menu name="main-menu" theme="minimalist"]`.
Select themes in the Shortcode Assistant.

### Can I display submenus?

Yes, use `depth`: `[oow_custom_menu name="main-menu" depth="2"]`.

### How do I preview my menu?

Use the Shortcode Assistant under OOWCODE > OOW Menu Shortcode to generate and preview
menus in real-time.

### Does it work with page builders?

Yes, includes a Gutenberg block, Elementor widget, Divi module, and WPBakery component(
requires respective plugins).

### How do I make the menu accessible?

Add `aria_label`: `[oow_custom_menu name="main-menu" aria_label="Main Navigation"]`.

### Does it support multilingual menus?

Yes, use `lang` with WPML or Polylang: `[oow_custom_menu name="main-menu" lang="
fr"]`.

### Why do I see notifications about Elementor, Divi, or WPBakery?

These appear in the respective editors if the plugins are inactive. Dismiss them
permanently by clicking the “Dismiss” button.

### Where can I get support?

Contact [support@oowcode.com](https://fa-af.wordpress.org/plugins/oowcode-custom-menu-shortcode/support@oowcode.com?output_format=md)
or visit [OOWCODE](https://oowcode.com).

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“OOW Custom Menu Shortcode” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت
کرده‌اند.

مشارکت کنندگان

 *   [ David OOWPRESS ](https://profiles.wordpress.org/oowpress/)

[ترجمه “OOW Custom Menu Shortcode” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/oowcode-custom-menu-shortcode)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/oowcode-custom-menu-shortcode/),
را بررسی کنید [مخزن SVN](https://plugins.svn.wordpress.org/oowcode-custom-menu-shortcode/),
یا مشترک شوید [گزارش توسعه](https://plugins.trac.wordpress.org/log/oowcode-custom-menu-shortcode/)
توسط [RSS](https://plugins.trac.wordpress.org/log/oowcode-custom-menu-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 1.7

 * Added 10 predefined themes (e.g., Modern Horizontal, Dark Mode, Minimalist) with`
   theme` attribute.
 * Introduced Shortcode Assistant with real-time preview and theme selection.
 * Added Gutenberg block, Elementor widget, Divi module, and WPBakery component.
 * Implemented contextual, permanently dismissible admin notices for Elementor, 
   Divi, and WPBakery.
 * Enhanced theme styles to prevent interference from theme CSS (e.g., removed list
   bullets).
 * Added support for nested menus with `depth` attribute.
 * Improved accessibility with `aria_label` and `aria-current`.
 * Optimized CSS loading for performance.
 * Updated documentation to reflect new features.

#### 1.6

 * Fixed minor compatibility issues.
 * Updated documentation.

#### 1.5

 * Added support for both `[oow_custom_menu]` and `[oowcode_custom_menu]` shortcodes.
 * Updated documentation for dual shortcode compatibility.

#### 1.4

 * Added `lang` attribute for multilingual support (WPML, Polylang).
 * Introduced `fallback` attribute for missing menus.
 * Optimized attributes for consistency (`style` for layout).
 * Implemented caching for Plugins API.
 * Enhanced plugin installation with auto-activation.
 * Improved accessibility with ARIA attributes.
 * Added light/dark theme toggle in admin.

#### 1.3

 * Improved shortcode performance and code organization.
 * Enhanced customization for separators and styles.

#### 1.2

 * Added support for Arabic, German, English, Spanish, and French.
 * Updated translation `.pot` file.

#### 1.1

 * Introduced multilingual support and refined shortcode options.
 * Modernized admin dashboard UI.

#### 1.0

 * Initial release.

## اطلاعات

 *  Version **1.7**
 *  Last updated **1 سال پیش**
 *  Active installations **60+**
 *  WordPress version ** 5.8 یا بالاتر **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.0 یا بالاتر **
 *  Language
 * [English (US)](https://wordpress.org/plugins/oowcode-custom-menu-shortcode/)
 * Tags
 * [menu customization](https://fa-af.wordpress.org/plugins/tags/menu-customization/)
   [Navigation Menu](https://fa-af.wordpress.org/plugins/tags/navigation-menu/)
 *  [نمایش پیشرفته](https://fa-af.wordpress.org/plugins/oowcode-custom-menu-shortcode/advanced/)

## امتیازها

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/oowcode-custom-menu-shortcode/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/oowcode-custom-menu-shortcode/reviews/)

## مشارکت کنندگان

 *   [ David OOWPRESS ](https://profiles.wordpress.org/oowpress/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/oowcode-custom-menu-shortcode/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://profiles.wordpress.org/oowpress/)