WordPress.org

Ready to get started?Download WordPress

Forums

can I link to a page but not show it unless people click the link? (2 posts)

  1. consciouscat
    Member
    Posted 5 years ago #

    I'd like to add a page to my blog that will only show if people click on a specific link in the text widget. How would I do this?

  2. stvwlf
    Member
    Posted 5 years ago #

    find wp_list_pages in the template displaying your nav - generally either
    /wp-content/themes/{themename}/header.php or sidebar.php
    and add an exclude to it
    http://codex.wordpress.org/Template_Tags/wp_list_pages#Exclude_Pages_from_List

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags