WordPress.org

Ready to get started?Download WordPress

Forums

All Pages & Subpages being added to main menu bar (3 posts)

  1. mdbmarketing
    Member
    Posted 6 years 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.

    Thanks!

    Mindy

    PS. the site is http://www.directsalespages.com

  2. Kafkaesqui

    Posted 6 years ago #

    Look at the 'exclude' parameter for wp_list_pages(), which lets you provide Pages (that is, their numeric IDs) to ignore:

    http://codex.wordpress.org/Template_Tags/wp_list_pages

    If your theme sports a Header index (header.php), this is likely where wp_list_pages() is being called in the theme.

  3. mdbmarketing
    Member
    Posted 6 years ago #

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic