Automatically Add WordPress Submenu to Parent Menu for Pages

Automatically Add WordPress Submenu to Parent Menu for Pages

When you create a new Page in WordPress, you can have it automatically create a menu item for you if you like. One thing WordPress doesn’t do, however, is automatically create a submenu for you if you create Child Pages (or Sub-Pages).

The  Auto Submenu plugin will allow you to do this. It will automatically create a submenu for your Parent Pages whenever you create a Child Page, even if you are using custom menus.

This would seem to be especially useful for client sites. Set it up, and then teach clients how to create a Child Page. After that, their menus will automatically be updated for them.


Set Up

Although there are no settings for the plugin, in order to get it to work with Custom Menus (the menus that you set up yourself in the WordPress admin area), you will need to make sure the box is checked to “Automatically add new top-level pages.”

Another important note is that this will only work for Child Pages created AFTER the plugin has been installed and activated.


Set a Parent Page

The easiest way to create a Child Page is to set a Parent Page when creating a new Page.  Do this on the right hand side of your Post Editor screen.



Sub Menu Automatically Created

And that’s it. The submenu will automatically be created for you and added to your menu system.

And here’s a look at the automatically created submenu in the backend.


Photo: Web Navigation Menu Element from BigStock

Free Video Why 100 is NOT a Perfect Google PageSpeed Score (*5 Min Watch) Learn how to use Google PageSpeed Insights to set realistic goals, improve site speed, and why aiming for a perfect 100 is the WRONG goal.