WordPress.org

Support

Support » How-To and Troubleshooting » Multi-level Page Hierarchy

Multi-level Page Hierarchy

  • Heyyo,

    I’m creating an article website and am having a time translating my page hierarchy into WordPress. Here’s a small flow image for context:

    http://i46.tinypic.com/2nb7tqs.jpg

    The first page you choose a category, followed by a sub-category, finally to the first article of the series. Here’s an example of what a breadcrumb might look like:

    Mathematics > Algebra > Variables

    My original thoughts were to have a page using the archive template to show first-level categories > another page with all sub-categories of selected category > the first post inside of that sub-category, but I can’t get it working right. Any help is genuinely appreciated.

    Thanks,
    -adam

Viewing 2 replies - 1 through 2 (of 2 total)
  • What have you done? What doesn’t work?

    Hey, thanks for replying. I’m using default templates. The easiest way I determined would be to have an archive page with a list of categories such as: <h2>Table of Contents:</h2> <ul> <?php wp_list_categories('depth=1'); ?> </ul>, and then when you click on a category the next page shows you a list of its child/sub-categories instead of linking to all of the posts related to it. I’m not really sure of how else I’d go about it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multi-level Page Hierarchy’ is closed to new replies.