Show all posts in current category or sub-category

Hello,
What I want to do seems like it should be simple, so I’m either missing something really obvious or it’s not possible to do it the way that I’m thinking.

I have a Custom Post Type called “Projects”. Projects has categories and sub-categories.
One of the categories is Architecture and you can see all the sub-categories here:

I have an Archive Layout called “Architecture” that this page is using: https://jonathang132.sg-host.com/architecture/
It is currently showing all of the posts within the Architecture category. When clicking on one of the sub-categories at the top, for example, “Brewery”, I want all the Architecture>Brewery posts to show on the /architecture/brewery/ page using the same “Architecture” Archive Layout. Is this possible?

Thanks!

Hello @marketfresh,

Thanks for writing in! If that is the case, you will have to create similar portfolio pages for each of the categories. For example, at the moment, you have /architecture/ page. You will have to create another page for the /architecture/brewery/.

Hope this makes sense.

It does make sense. I was hoping to achieve it using an archive layout so that I don’t have to create a page for each of the categories and sub categories - also so I can control the design of all those pages from one place.

Is there a possibility of this kind of functionality becoming available in a future release?

Hello @marketfresh,

Yes, it will be possible with a different URL structure. You may have something like this:

/portfolio-item-category/architecture/
/portfolio-item-category/brewery/
/portfolio-item-category/architecture/brewery/

Best Regards.

@ruenel
Can you explain how to change the URL structure so that it works the way I explained?

Hey @marketfresh,

Custom Post Type setup is beyond the capability of Pro. We’d be happy to guide you in our One Single Platform support.

Thanks for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.