Auto Submenu Premium

 10,00 80,00

To generate your license key, please supply the site URL(s). Please note your time zone difference from mine (CET). You will receive the license key via e-mail within 24 hours after purchase.
Product total
Options total
Grand total
SKU: ASM-Premium Category:


Auto Submenu

NEW: ASM now provides support for Full Site Editing with the Gutenberg Block Editor

The default custom menu in WordPress only allows checking the “Automatically add new top-level pages” (Appearance > Menus) or adding a Navigation block with all pages and all child pages (Appearance > Editor). With Auto Submenu you get extra functionality to automatically include child pages into the menu. This plugin is available as Free and as Premium version.

How to add pages to your WordPress menu

How can I automatically let WordPress add certain new pages to my menu? If you’ve searched online, all you can find is how to manually add ONE page to the menu. Or all of them..

Suppose you have a page called “Services” and then you have one page for each service you offer. What if WordPress could automatically add all these child pages to your WordPress menu? Even if you created a new one, it would automatically get added. Yes, there’s a plugin for that and it’s called Auto Submenu. 

Here’s how it works:

  • Search the WordPress plugin directory for “Auto Submenu”, install and activate that plugin
  • Go to Paged and create a page, for example “Services”
  • Go to your menu and add the Services page to your menu
  • Thanks to ASM, you’ve now got extra options. Enable the automatic submenu
  • Now, create a new page and make it a child page of Services.
  • Go to your website and inspect your menu. Your new page was automatically added below Services! 

Do you want more options? The Premium version of Auto Submenu supports showing an infinite nesting depth of pages in your menu and offers advanced sorting options.


The free version of the plugin can be found in the Plugin Directory. You can install it via the usual WordPress Plugin route, just search for “Auto Submenu”.


Payment in Euro’s via Stripe or bank transfer (IBAN) to The Netherlands.

You’ll receive an automatic e-mail a month before your license expires.

Premium: Features

When you go Premium, you get the following extra features:

  1. Allow expanding unlimited nesting depth (-1 for unlimited)
  2. Extra wildcards, see below.
  3. Build a custom HTML structure for your menu items (no longer only flat text)
  4. More fine-grained control over how the posts are ordered. (Separate selection of Order By and Ascending/Descending, more fields to order by)
  5. Automatic updates

Premium: Support

Going Premium means you can contact me directly via e-mail for support and I’ll help you out. Below, you can read what I’ll help you with.

  • Bugs: The plugin crashes, doesn’t expand the posts or doesn’t show the correct output somehow.
  • Configuration support: How can I get the menu to show X…?
  • Theme support: Support is provided with free WordPress themes. Issues should be reproducible in a free theme. (I cannot provide support for paid WordPress themes or plugins at this moment.)
  • Plugin support: Support is provided with free WordPress plugins, provided that these plugins do not affect the menu. If another plugin also edits the menu, I cannot guarantee that my plugin will work properly. (Important note: Conflicts will surely arise if two plugins are tasked with editing your menu. Therefore, you should first check that the Free version of my plugin works as intended, before you purchase the Premium version.)
  • Please note: This plugin is delivered as-is. Going Premium does not mean that your feature requests will automatically be honored. That being said, feel free to send me a message, perhaps your request can easily be achieved.

Premium: Extra wildcards

  • %post_featured_image_url
  • %post_featured_image (insers an HTML ‘img’ tag with the featured image or nothing if there is none)
  • %post_featured_image_thumb_url
  • %post_featured_image_thumb (inserts an HTML ‘img’ tag with the featured image thumbnail or nothing if there is none)
  • %post_excerpt
  • %post_url
  • %post_status
  • %post_modified
  • %post_modified()
  • %post_modified(<your formatting here>)
  • %post_modified_gmt
  • %post_modified_gmt()
  • %post_modified_gmt(<your formatting here>)
  • %post_comment_count
  • wildcards for custom fields, like %post_my_field, where ‘my field’ or ‘my_field’ is a custom field

Premium: Screenshots

See product image gallery above.

Known limitations


The plugin is potentially very expensive, especially when you decide to build your entire menu out of nothing but pages with subpages.

The solution would be to cache the menu using transients, as reported here

Conflicts with plugins/themes

Problem: “I can’t see what effect it has had. Nothing has changed (not that I can see) in the Appearance > Menu page. Just like before.”

If you are using a recent version of Auto Submenu and an updated version of WordPress, the problem can only occur due to your theme or other plugins conflicting with Auto Submenu. Please disable all themes and plugins except ASM; verify that the ASM fields show; enable other plugins and themes one by one to determine which plugin/theme conflicts with ASM.

Note: A theme must either call wp_nav_menu() or apply_filters( 'wp_nav_menu_objects', … ) for ASM to be triggered.

You should first check that the Free version of my plugin works as intended, before you purchase the Premium version


Additional information


1 year, 2 years

Number of sites

Single site: 1 site URL, Developer pack: 10 site URLs