WordPress.org

Ready to get started?Download WordPress

Forums

How do I list certain pages under certain names? (8 posts)

  1. Megagents
    Member
    Posted 6 years ago #

    I was reading how you can list pages with ID numbers but is there a way you could list pages with certain names? I haven't seen anything that says you can but there must be some way you can, right?

  2. Megagents
    Member
    Posted 6 years ago #

    Bump.

  3. Chris_K
    Member
    Posted 6 years ago #

    I wish you wouldn't bump so soon. it's really rather rude.

    Have you visited Options -> Permalinks? Check out the Permalinks page to read up on them.

  4. peiqinglong
    Member
    Posted 6 years ago #

    What do you mean list pages with certain names? you either do it via page id or pretty url.

  5. Megagents
    Member
    Posted 6 years ago #

    In the sidebar when you put <h2>Something</h2> it appears in your sidebar. I was wondering how I could you make it so certain pages disply under them.

    Example

    <h2>Categorie</h2>
    sports
    drama
    action

    <h2>Links</h2>
    food sites
    computer sites
    tv schedules

    See what I mean? Those things listed are pages but they aren't in the same place in the sidebar.

  6. Megagents
    Member
    Posted 6 years ago #

    I want my sidebar to look like this

    Child Safety
    page1
    page2
    page3

    Games
    page4
    page5
    page6

    Magazines
    page7
    page8
    page9

    Notice how they're all pages yet they aren't under the same heading? Normally it would be:

    Pages
    page1
    page2
    page3
    page4
    page5
    page6
    page7
    page8
    page9

    See? How do I separate them?

  7. moshu
    Member
    Posted 6 years ago #

    You need a lot of manual code for that - there is no WP template tag that would do that.

  8. Jeremy Clark
    Moderator
    Posted 6 years ago #

    What about using subpages. Just make the bold heading a parent page, and all the pages underneath subpages of that page. Then for each parent page you could just list all the child pages of that so called category.

Topic Closed

This topic has been closed to new replies.

About this Topic