Forums

[resolved] How do I ... (4 posts)

  1. raggingviper
    Member
    Posted 3 years ago #

    Hello everyone,

    I have a unique challenge and was wondering if any of you have encountered this. I have a theme (which works fine) that shows the "pages" at the top. (www.whatnottodoin.com/blog) That's fine except as you can see as I add "more" pages the theme crunches them up at the extreme top right. Now I have emailed and posted on the designers blog but they won't answer.

    My problem is this. I want people to register to get the link to our book review page, thus building a list so we can build a relationship with that list.

    The problem is when I make the page "private" no one can see the contents of the page once they are taken there by the link in the email. Of course it does not show the page at the top of the theme, which is great too, but this scenario does not work.

    My answer is to elimate the pages on the blog and just have the link in the email pop up a traditional html page on my server. Not really what I want to do but if it is so be it.

    Finally my question is: "Does anyone know if I can "hide" the pages I need to hide until a person clicks on the link in the email, and once there can see the contents of that page even if it's "private"? And if so is there anyway to keep that page from showing at the top of the theme?

    Thanks in advance.
    RC

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Themes typically use something like the template tag, wp_list_pages(), to display Pages in a menu. You may want to use the include= argument to designate which Pages do get presented in your menu.

    Resource:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

  3. raggingviper
    Member
    Posted 3 years ago #

    Thanks Mike, I will check it out.

  4. raggingviper
    Member
    Posted 3 years ago #

    Mike,

    Thanks for the leads to pages I could read and apply the information. All I did was go to your Pages link, read the coding and then go and edit the original coding that existed in the header.php file. And everything worked beautifully.

    Thank you!
    RC

Topic Closed

This topic has been closed to new replies.

About this Topic