WordPress.org

Ready to get started?Download WordPress

Forums

Making new page without button in main menu? (3 posts)

  1. stanwelks
    Member
    Posted 5 years ago #

    I created a new page via Pages > Add New, though I do not want a button to appear in my main menu. How do I remove the button from my main menu after making a new page?

    Thanks.

  2. shutzu
    Member
    Posted 5 years ago #

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

    you have to use the exclude option.

  3. stanwelks
    Member
    Posted 5 years ago #

    the only thing I saw is:

      <?php wp_list_pages('exclude=17,38' ); ?>

    where does this go?

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags