Menu In Post


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.


  • 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


  1. In WordPress Admin, look on the ‘Tools’ menu for Menu In Post Tools.
  2. Use Menu In Post Tools’ Shortcode Builder to build your menu shortcodes.
  3. Copy the menu shortcode and paste it into a Shortcode Block in the Gutenberg editor in a page, post or widget.
  4. Use the classic menu editor (Appearance > Menus) to add/edit menus.
  5. 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


You can translate Menu In Post on


  • Menu In Post Tools
  • Add a Shortcode Block from the Widgets Section of the Add Block Menu to add a Shortcode Block.
  • A Menu In Post shortcode in a Shortcode Block.


  1. Upload the entire menu-in-post folder to the /wp-content/plugins/ directory.
  2. 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.


2023 年 4 月 2 日
Great plugin. Lightweight and simple, does the job perfectly.
2020 年 4 月 5 日
This plugin is a must have plugin for complex websites. Realy easy and works perfect! Thank you for this plugin and hopefully it will be stay alive for long time. Thanks again for your work 🙂
閱讀全部 8 則使用者評論


以下人員參與了開源軟體〈Menu In Post〉的開發相關工作。


將〈Menu In Post〉外掛本地化為台灣繁體中文版


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Add honoring WordPress menu item target with dropdown-style menus.


  • Fix Undefined array key “mipshowappearancemenus” warning in admin.php when saving settings in non-block-enabled themes.


  • Add wp_admin_notice() for admin notices for WP >= 6.4 with fallback for earlier versions.


  • Updates for PHP 8.2 compatibility.


  • Updates for PHP 8.2 compatibility.


  • Added the option (Settings > Menu In Post) to display the classic menu editor (Appearance > Menus), required to add/edit menus for Menu In Post.


  • Removed list tags from Options help to improve translation.


  • 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.


  • Fixed deprecation notice for optional parameters preceding required parameters in PHP 8.x.


  • Add selected attribute to drop-down option if current page. Thanks to @oliveirataquari for the request and @kojotkk for the code suggestion.


  • 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.


  • Fixed missing placeholder text in Admin no-JavaScript fallback.
  • Added append to URL feature for anchors and/or variables.


  • Updated JavaScript files.


  • Added configurable placeholder text attribute to shortcode for dropdown-style menus.


  • Added Copy Shortcode button. Minor admin CSS cleanup.


  • Add backward compatibility for shortcodes with no style specified to default to list.


  • Add missing JavaScript files.


  • 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.


  • Initial release.