[resolved] Multiple menus by post categories and sub-categories (4 posts)

  1. Hansibassi
    Posted 3 years ago #

    Hello everybody

    I'm working on an educational site, containing a set of articles, which should be ordered into the following hierarchy:
    course (ex. 'biology') -> sup-topic (ex. 'genetics') -> article (ex. 'The DNA-molecule')

    I want the main menu to reflect the top level (course), which is easy enough, as it just requires a custom menu, displaying my categories.
    The problem is, that I want a sidebar-menu to reflect the next level (sup-topic), under which the articles should be listed in the menu. The image in the link below, should show what I mean:

    How do I accomplish that?
    I don't want the user to be brought to the typical categories.php, with a list of posts in that category. The categories are only for structuring the menus and the hierarchy of the site.
    If categories aren't the best way to structure the site, I would like to know as well :)

    I hope someone will take the time to help :)

  2. paulwpxp
    Font hero
    Posted 3 years ago #

    I had built quite a few sites with that requirements. I've tried custom taxonomies, post types, and all that, but finally I resolved to using WP's most reliable content type which is "page".

    The type of site we are talking about here doesn't really need category struction like that, it only need a basic tree structure, so it should be simple as "page" and "sub-page".

    The problem with WP is that its backend of page management is not the best yet, but there are plugins for that already. But without plugin you can still manage site with lot of pages/sup-pages with WP.

  3. paulwpxp
    Font hero
    Posted 3 years ago #

  4. Hansibassi
    Posted 3 years ago #

    Thanks a lot - that's a brilliant workaround, and much easier to work with :)

    Good plugins as well.

Topic Closed

This topic has been closed to new replies.

About this Topic