Auto Menu From Pages

Automatically generate a navigation menu from your page hierarchy.

Author:MIGHTYmi (profile at wordpress.org)
WordPress version required:5.3
WordPress version tested:5.7.2
Plugin version:1.3.4
Added to WordPress repository:31-03-2015
Last updated:10-05-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:96
Rated by:8
Plugin URI:http://wordpress.org/plugins/auto-menu-from-p...
Total downloads:9 687
Active installs:500+
plugin download
Click to start download

A MIGHTYminnow plugin. Enjoy? Consider leaving a 5-star review.

Auto Menu From Pages generates a WordPress navigation menu that matches your page order and hierarchy. Simply click the Sync Auto Menu link in the admin bar to update the auto menu and reflect any changes you make to your pages so it is always current.

The auto menu works just like any other WordPress navigation menu, meaning that you can assign it to any of your theme’s menu locations, output it using the Custom Menu widget, and do anything else that you could normally do to a navigation menu.

Instructions

  1. Install and activate the plugin.
  2. Navigate to Appearance > Menus in the WordPress admin and select the “Auto Menu From Pages” menu to edit (this should automatically happen on activation).
  3. Assign the auto menu to one or more of your theme’s menu locations using the normal “Theme locations” checkboxes, and save the menu.
  4. Click the Sync Auto Menu link in the admin bar to automatically update your menu to reflect any changes you’ve made to your pages (title, order, etc).
  5. Note: To hide a page from the auto-menu, check the “Hide from the auto menu” checkbox when editing that page.

Enabling Auto-Syncing

This plugin has the ability to automatically sync your menu after pages are modified, however the feature is turned off by default as it can create significant overhead. To turn it on, use the provided amfp_auto_sync_menu filter and set it to true, like so:

add_filter( 'amfp_auto_sync_menu', '__return_true' );