wp_list_categories inside wp_list_pages? (3 posts)

  1. tigonometry
    Posted 4 years ago #

    I've got a navigation setup that uses wp_list_pages and one of those is a list to the categories. Is there a way to do something like this:

    if page = "Title for Category List"
    display wp_list_categories

    ... and have it display like the rest of the site?

    I'm working on digitalroutellc.com if that helps. "Articles" is the title of the page that needs to display a dropdown list of the categories. Currently it's a set of pages that uses a redirect to the category in question and it's a little bit of a pain in the arse creating new pages.

  2. nsathees
    Posted 4 years ago #


    is_page() and in_category template tags can be combined to produce the results dynamically.

  3. tigonometry
    Posted 4 years ago #

    I hate to sound like a ninny, but I'm new to functions and PHP in general. How would I go about doing this?

    Thank you for replying, by the way. Any and all help is appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.