Auto Subpage Menu
Auto Subpage Menu
Description
By default wordpress menu system, wordpress can only automatically add/remove top-level page to/from menus
- When publish top-level page then add it into menus
- When move top-level page to trash then remove it from menus
- When restore top-level page then add it into menus
this feature has no effect with subpage (child page), but Auto Subpage Menu can
- When publish subpage (child page) then add it into menus (if its page parent exists in menu)
- When update subpage (child page) then update menus
- When move subpage (child page) to trash then remove it from menus
- When restore subpage (child page) then add it into menus
Notes
- WordPress Coding Standards
- phpDocumentor DocBlock Standard
- Auto Subpage Menu – WordPress Directory Uri
- 2 spaces for indent
- Repository on Github
TODO
Installation
- Install the plugin via plugin’s dashboard or download and upload this plugin into
wp-content/pluginsdirectory - Activate the plugin through the Plugins menu in WordPress
- Go to Menus and check
Automatically add new top-level pages to this menu - Let’s see the magic
Screenshots
Faq
How to use it
activate the plugin on your plugin dashboard (/wp-admin/plugins.php)
How it work
please see screenshot
Reviews
Thank you!
By stevied on February 19, 2023
Been spending hours looking for a module that did exactly this. The only two other modules I found were no longer maintained. Another module I found did not really work as advertised.
This feature is sorely needed feature in WP. The current method of having to go to the menu admin to add in a page to the menu is often very confusing for my clients.
This module still works on WP 6.1.1. I hope you can continue to maintain it.
does a great job
By Marklcm on October 3, 2017
Good idea but bad support
By Harm10 on September 27, 2017
works .... But a few things to keep in mind
By andy0829 on June 21, 2017
works flawlessly
By sztibu on February 23, 2017
does not work on multilanguage site with more than 1 menu
By thecasinokoala on December 21, 2016
Doesn't work...
By CBServices on September 3, 2016
It doesn't do anything...
I have lots of pages, I edit a page (wich falls under a parent (with menu)), I save the page and still no extra submenu item.
Fabulous!!
By wiscweb on September 3, 2016
This works perfectly!!
Changelog
1.1.4 (24 Apr 2016)
- Fix issue – plugin is not working if not using default table prefix (wp_), found and fixed by ncwebdev, topic
- Update code style
- Add TODO section
1.1.3 (14 Feb 2016)
- Update meta (readme file, description, link)
1.1.2 (27 Aug 2015)
- Update readme file according wordpress readme file standard
1.1.1 (26 Aug 2015)
- Change file name from README.md to readme.txt
- Update plugin description
1.1.0 (24 Aug 2015)
- Fix issue (twice add child page to menus when update with unchanged page parent)
- Refactoring
1.0.0 (23 Aug 2015)
- First release



