WordPress.org

Ready to get started?Download WordPress

Forums

Hide a Page (7 posts)

  1. dleonte
    Member
    Posted 4 years ago #

    I would like to add a page to be used for a promotional link to be given to those who opt in, and not have the page appear as a page tab or sub page.

    Can this be done?

    http://stephaniefrank.com

    Thank you.

  2. Chris_K
    Member
    Posted 4 years ago #

    Depends on how your theme handles pages. Commonly, you'll find the function call wp_list_pages. If so, you can exclude a page (or pages) from the list with just a bit of editing.

    Try looking in your theme's header.php file.

  3. dleonte
    Member
    Posted 4 years ago #

    I don't have wp_list_pages in my header.php file.

  4. Chris_K
    Member
    Posted 4 years ago #

    OK, so what is in there listing the Pages? You have to help here a bit; I can't look over your shoulder :-)

    If you can't readily identify whatever code is listing pages, just go ahead and post a copy of your header.php's source over at http://wordpress.pastebin.com and give us a link here and someone will have a look.

  5. dleonte
    Member
    Posted 4 years ago #

    Here is the link to pastebin:
    http://wordpress.pastebin.com/GGwNqyX3

    Thank you

  6. Chris_K
    Member
    Posted 4 years ago #

    If I'm looking at this right, it looks like your theme uses wp_css_dropdownmenu() plugin to do the top menu.

    My understanding is that the plugin has an Options or Settings page from which you can manage and exclude pages. Do you see anything like that under Tools or Settings?

  7. dleonte
    Member
    Posted 4 years ago #

    Yeah!! That's it. I can see the options to exclude pages in the plugin.

    Thanks so much.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.