WordPress.org

Ready to get started?Download WordPress

Forums

Help the newbie? (3 posts)

  1. BleedingIdol
    Member
    Posted 7 years ago #

    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. :)

  2. TonyGeer
    Member
    Posted 7 years ago #

    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.

  3. BleedingIdol
    Member
    Posted 7 years ago #

    Great, I got it working. :) Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic