• I’m trying to add a page that is published so I can direct people to it after signing up for my mailing list (a thank you page, basically), but I don’t want to have the page show up in the pages list (or the page tabs across the top of my page).

    I tried to create it as a private page, but then only I can see it when I’m logged in.

    Is there a way to have a published page that I can direct people to without having it show up in the page list or page tabs (so others can’t just see it and click on it)?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Not sure about the “redirect” part – but I assume you know what are you doing.

    As for exclusion: just read the documentation:
    Template_Tags/wp_list_pages#Exclude_Pages_from_List

    Thread Starter kimber787

    (@kimber787)

    Thanks! Where do I paste in that code? On the page itself, or somewhere else?

    Not in the Page for sure.
    Somewhere else… if you meant where you have already that template tag to display your Pages – yes.
    Not having a link and not knowing which theme is active (they are all coded differently), the answer is as vague as your question.

    Thread Starter kimber787

    (@kimber787)

    Sorry about the vagueness. I’m using “Unnamed One 0.4.3 beta” as my template.

    The site is XXXXXXXXX.com and the page I want to have published (so I can direct people there) but not show up as a tab across the top is the “Thank You” page.

    Most likely you have to edit your header.php file in the theme and add the exclude parameter to the template tag found there.

    Thread Starter kimber787

    (@kimber787)

    Great–thanks! Just as a note, in this particular template the wp_list_pages is the third line from the bottom, so in the parens I just added “&exclude=19” and it worked.

    Thanks for all your help!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Hide page tags for published pages’ is closed to new replies.