Menu In Post

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

Use

  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.

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.wordpress.org.

Screenshots

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

Installation

  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.

Reviews

Avrîl 5, 2020
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 🙂
Read all 6 reviews

Contributors & Developers

“Menu In Post” is open source software. The following people have contributed to this plugin.

Contributors

Translate “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.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.