This plugin is outdated and might not be supported anymore
OOWCODE Custom Menu Shortcode

OOWCODE Custom Menu Shortcode

Details
View on WordPress

OOWCODE Custom Menu Shortcode is a powerful and flexible tool that allows you to display WordPress menus using a simple shortcode. This plugin is perfect for users looking to customize the appearance and behavior of menus without needing to modify the theme’s code.

With the ability to configure inline menus, set custom separators, and add CSS classes, this plugin provides a fast and easy way to create personalized menus across your site. Whether you’re building a navigation system for a blog, portfolio, or ecommerce site, this plugin is designed to be flexible and intuitive.

Features

  • Display any WordPress menu using a shortcode.
  • Options to switch between list-style or inline-style menus.
  • Customizable separators for inline menus.
  • Add custom CSS classes for further styling control.
  • Multilingual support with .pot files included for translations.
  • Improved performance for faster menu rendering.
  • User-friendly dashboard for managing menus easily.
  • No coding knowledge required—just use the shortcode!

Example Shortcodes

  1. Default list-style menu:
    [oowcode_custom_menu name=”main-menu”]

  2. Inline menu with a custom separator:
    [oowcode_custom_menu name=”main-menu” style=”inline” separator=” – “]

  3. Menu with custom CSS class:
    [oowcode_custom_menu name=”main-menu” class=”custom-menu-style”]

  4. Multilingual menu setup:
    Use the lang attribute to specify a language for a menu (if configured):
    [oowcode_custom_menu name=”main-menu” lang=”fr”]

  5. Advanced setup with inline style and separator, plus additional CSS classes:
    [oowcode_custom_menu name=”main-menu” style=”inline” separator=” > ” class=”inline-menu custom-class”]

  6. Fallback menu:
    Specify a fallback message or menu to display if the targeted menu doesn’t exist:
    [oowcode_custom_menu name=”main-menu” fallback=”Default Menu”]

Available Shortcode Attributes

  • name (required): The name or slug of the menu to display.
  • class (optional): A custom CSS class for styling the menu container.
  • style (optional): Display the menu as a list (list, default) or inline (inline).
  • separator (optional): The separator used between items in an inline menu (default is |).
  • lang (optional): Display the menu in a specific language (requires multilingual setup).
  • fallback (optional): A fallback message or alternative menu if the specified menu is not found.

For additional support or to contribute, visit OOWCODE.

License

This plugin is licensed under the GPLv2 or later.

Details

Plugin code:
oowcode-custom-menu-shortcode
Plugin version:
1.3
Author:
Outdated:
Yes
WP version:
5.8 or higher
PHP version:
or higher
Test up to WP version:
6.7.1
Total installations:
60
Last updated:
2024-12-09
Rating:
Times rated:
0
custom-menus
inline-menu
menu
navigation
shortcode