How to Automatically Populate WordPress Submenus

JC Submenu WordPress plugin takes the hassle out of creating menus, by removing the manual addition of items and allowing you to automatically populate menu items from posts, categories, tags, custom post types, and taxonomies.

Each with many customisable options allowing you to refine your final menu.

Enabling Automatic Menu Population

Once you have the JC Submenu installed, from the menus section

  1. Add a menu item that you wish to have posts as a submenu and click on save menu.
  2. When the page reloads, click on the arrow on the right hand side of the menu item to display the advanced options.Tick the checkbox labelled JC Submenu – Automatically populate submenu to show an accordion of population options.

JC Submenu - Enabled

Populate WordPress Menus with Posts

  1. Click on the section labelled Populate from post type.
  2. Post Type – Make sure Post is selected from from the drop down labelled Post Type
  3. Taxonomy – If you wish to only show posts from a certain category/taxonomy choose the appropriate taxonomy from the drop down labelled Taxonomy (otherwise choose All), If you wish to filter it down further by choosing a term within that taxonomy choose the appropriate term from the drop down labelled Terms.
  4. Order – Choose which field you want to order and how you’d like it ordered Ascending or Descending.
  5. Post Limit – Setting the number of posts to display, Set to 0 if you wish not to have a limit.

JC Submenu - Post

Populate WordPress Menus with Taxonomies

  1. Click on the section labelled Populate from taxonomy.
  2. Taxonomies – Choose the taxonomy from the drop down you wish to populate from.
  3. Order – Choose which field you want to order and how you’d like it ordered Ascending or Descending.
  4. Hide Empty Terms – Hide terms that do not have any posts / custom posts.

JC Submenu - Tax

Populate WordPress Menus with Child Pages

  1. Click on the section labelled Populate from pages.
  2. Parent Page – Choose the parent page to fetch the child pages.
  3. Order – Choose which field you want to order and how you’d like it ordered Ascending or Descending.

JC Submenu - Page