• Resolved tjobbe

    (@tjobbe)


    Hi, I’m trying to use WordPress as a CMS and I have set one of my pages as the blog posts page.

    What I am hoping to do is call the navigation so that the pages appear within a ul, along with one of the pages sub-categories (not sub-pages)

    Is this possible? I have searched, but I’m either not searching right or I’m doing something wrong?

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

    (@esmi)

    Try using wp_list_pages along with wp_list_categories using the child_of parameter.

    Thread Starter tjobbe

    (@tjobbe)

    Thanks Esmi :o)

    Is it possible to use the wp_list_pages when the page I have set as my blog posts page is in a certain order – in my case it is half way down.

    Here is what I have:

    -Home
    -About
    -Contact
    -Blog
    –blog category
    –blog category 2
    –blog category 3
    -Portfolio
    -CV

    does this make sense and is it possible?

    esmi

    (@esmi)

    Not sure I follow. Are you trying to set up some sort of sub-menu within the main menu? If yes, then you can’t use wp_list_categories. Best I can suggest is to set up Blog child pages whose titles match the relevant categories. Then use the Page Links To plugin to redirect each of those child pages to the correct category page.

    Thread Starter tjobbe

    (@tjobbe)

    The thing is, and I’m sorry I can’t explain it any better, is that I want to list all my pages in a certain order.

    I have one page that I’ve set as my blog posts page in “Settings>Reading”, and I’d like all my post categories to appear in the menu dynamically, under the blog posts page within the menu I’m making, thus mimicking a sub-page effect.

    esmi

    (@esmi)

    The plugin approach I’ve suggested above should work.

    Thread Starter tjobbe

    (@tjobbe)

    Thank you, I’ll take a closer look, appreciate your time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘list pages and sub categories’ is closed to new replies.