WordPress.org

Ready to get started?Download WordPress

Forums

Help: Display Children Categories OR Posts (1 post)

  1. Xamzor
    Member
    Posted 1 year ago #

    Hey!

    So, I'm having an issue with displaying categories how I would like. I have a website set up in which I have multiple categories with children categories. I would like to set it up so when I click a category, it will show either it's children categories, or, if it has posts, the posts associated with the selected category. Right now, if I click a parent category, it simply shows all the posts below it.

    Ex.

    The Categories will be set up like this.

    EDUCATION (main parent with no posts)
    Private Lessons (child with posts)
    Philosophy (child with posts)

    So, when I click EDUCATION in the menu, I would like to be navigated to a page that simply has the children categories, but when I select "Private Lessons", I need it to link to the posts associated with that category.

    Any help would be greatly appreciated!! Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic