Cloud Templates (Blank Category Page)

Posted in: Newspaper
Post count: 27

Hi!
I created a template for the categories, starting from Cloud Templates (Blank Category Page).
But I can not make sure that the template works with all categories.

I’ll explain:
if I go to category 1, the template shows me all the posts that have an assigned category and not only those of category 1
if I go to category 2, the template shows me all the posts that have an assigned category and not only those of category 2.

So, my aim is when i go to category 1, I see post of category 1 only. Then so for category 2, 3, and so on.

How can I avoid having to create a template for each category, but create a generic one that recalls the posts of the right category from time to time?

Thank you for the answer.

Post count: 20688

Hi,

Depends on what elements are used in the category template. Using category grids and loop elements will automatically display posts from the category that uses the template
https://www.screencast.com/t/xZ5j9UOE
https://www.screencast.com/t/h73BXKM4R
So a template containing such elements can be applied for multiple categories. This is how the cloud category template examples are made
https://affiliate.tagdiv.com/#/load/Category

But using other elements such as normal blocks and grids with filtering for example, these will always display the same posts according to that filtering, no matter the category page in which they appear. In this case the template would not be suited for multiple categories.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.