Description
With Menu In Post, you can create shortcodes to display menus as hyperlinked lists or dropdowns in posts, pages, and shortcode widgets. Menus are easier to manage through the WordPress user interface (UI) than a list of links. You can update a menu in one place (Appearance > Menus) and it will be updated everywhere you have added a Menu In Post shortcode for it.
Features
- Admin UI in Tools for quickly building shortcodes
- Display menus as lists or drop-downs
- Configurable depth-level for submenus
- Configurable ordering (via WordPress Menus UI)
- Set optional IDs and/or classes to menu containers and lists
- Append a text string to the URL of all menu items
- Compatible up to PHP 8.1
- Admin UI in Settings to tweak JavaScript loading and minification
- Works with block-enabled themes with option to display classic menu editor
Use
- In WordPress Admin, look on the ‘Tools’ menu for Menu In Post Tools.
- Use Menu In Post Tools’ Shortcode Builder to build your menu shortcodes.
- Copy the menu shortcode and paste it into a Shortcode Block in the Gutenberg editor in a page, post or widget.
- Use the classic menu editor (Appearance > Menus) to add/edit menus.
- Optionally, select options in Settings > Menu In Post. No changes are necessary to use the plugin.
Privacy Notice
Menu In Post does not:
- track users by stealth
- write personal user data to the database
- send data to external servers
- use cookies
Translations
You can translate Menu In Post on translate.www.remarpro.com.
Screenshots
Installation
- Upload the entire
menu-in-post
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
You will find a ‘Menu In Post’ menu in your WordPress admin Tools panel after installation and activation.
Reviews
Contributors & Developers
“Menu In Post” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Menu In Post” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.3
- Add honoring WordPress menu item target with dropdown-style menus.
1.2.6
- Fix Undefined array key “mipshowappearancemenus” warning in admin.php when saving settings in non-block-enabled themes.
1.2.5
- Add wp_admin_notice() for admin notices for WP >= 6.4 with fallback for earlier versions.
1.2.4
- Updates for PHP 8.2 compatibility.
1.2.3
- Updates for PHP 8.2 compatibility.
1.2.2
- Added the option (Settings > Menu In Post) to display the classic menu editor (Appearance > Menus), required to add/edit menus for Menu In Post.
1.2.1
- Removed list tags from Options help to improve translation.
1.2.0
- Added Settings > Menu In Post to optionally configure loading of JavaScript (required for drop-down menus).
- Added uninstall script to remove data from wp_options table on plugin removal.
- Some code tweaks for PEAR compliance.
1.1.9
- Fixed deprecation notice for optional parameters preceding required parameters in PHP 8.x.
1.1.8
- Add selected attribute to drop-down option if current page. Thanks to @oliveirataquari for the request and @kojotkk for the code suggestion.
1.1.7
- PHP clean-up.
- Verify compatibility with PHP 8.0.
- Fix JavaScript for menu depth value in shortcode.
- CSS improvements for cleaner display of Tools Page.
1.1.6
- Fixed missing placeholder text in Admin no-JavaScript fallback.
- Added append to URL feature for anchors and/or variables.
1.1.5
- Updated JavaScript files.
1.1.4
- Added configurable placeholder text attribute to shortcode for dropdown-style menus.
1.1.3
- Added Copy Shortcode button. Minor admin CSS cleanup.
1.1.2
- Add backward compatibility for shortcodes with no style specified to default to list.
1.1.1
- Add missing JavaScript files.
1.1.0
- Added the option of selecting a menu style, either the default unordered list of links or a dropdown. Thanks to kingfisher64 for the suggestion.
- Minor code cleanup.
1.0.0
- Initial release.