WordPress.org

Support

Support » How-To and Troubleshooting » Help the newbie?

Help the newbie?

  • Hi guys! I hope someone can help and that my question isn’t too stupid. :\ I’m really confused as far as all of these template tags, so would anyone mind helping me with a little explaination?

    For my sidebar, what I’m trying to do is have this:

    Parent Page 1 Title
    Child page 1
    Child page 2
    Child page 3
    Parent Page 2 Title
    Child page 1
    Child page 2
    Child page 3

    And so on. I don’t want the parent pages linked using the permalink (hence why I put “title” after Parent Page instead of just leaving it “Parent page”) but I do (obviously) want the child pages linked to the appropriate page. Is this at all possible?

    Thanks very much for any help. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • In the sidebar what you could do is something like this:

    Manually type in the title 1 here
    [here call the wp_list_pages function to list all the pages that are a subpage of the one you want]

    Manually type in the title 2 here
    [do the same here again]

    Just check the codex for wp_list_pages.

    Great, I got it working. 🙂 Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Help the newbie?’ is closed to new replies.
Skip to toolbar