Support » Themes and Templates » All Pages & Subpages being added to main menu bar
8 years, 9 months ago
I purchased a theme and installed it on my wordpress site. For some reason, it is adding all pages and subpages to my main menu. It looks ridiculous.
How do I change this setting and add only the pages I choose to the main menu bar?
I have no clue.
PS. the site is http://www.directsalespages.com
Look at the ‘exclude’ parameter for wp_list_pages(), which lets you provide Pages (that is, their numeric IDs) to ignore:
If your theme sports a Header index (header.php), this is likely where wp_list_pages() is being called in the theme.