Blocks filtering

Posted in: Newspaper
Post count: 7

Hello there!
We add each article in only one parent category but in several child categories that are not necessarily located under the same parent category.
We set as Primary Category, the one that suits as best, between the child categories.
We want to filter a block or a flex block in order to saw only the articles to have as primary category any of the child categories under a specific parent category. Is it possible?

For example, let’s say that we have:
“Parent-01” with Child Categories: “Child-01a”, “Child-01b”, “Child-01c” etc.
“Parent-02” with Child Categories: “Child-02a”, “Child-02b”, “Child-02c” etc.
“Parent-03” with Child Categories: “Child-03a”, “Child-03b”, “Child-03c” etc.

We upload articles by checking categories in the following way:
Categories: Parent-01, Child-01a, Child-01c, Child-02b, Child-03a
Primary Category: Child01a

We want to filter in a block, every article has as Primary Category one of the child categories “Child-01a”, “Child-01b”, “Child-01c” (under the same Parent-01 category), regardless of the additional child categories that may be included in this article, that aren’t located under the same Parent.

Thanks for your help

Post count: 18283

Hello !

Newspaper Theme only offers the filtering options that are available on some elements as you can see here: https://www.screencast.com/t/mmMaEukGO069 You can filter posts or show only them using their IDs.

This are the only options to filter your posts in Newspaper Theme elements. Unfortunately you cannot edit each module from a block.

Thank you !

Post count: 7

Thanks Vlad.

One additional question on this:

It is quite often to mark a post with more than one categories.
Is there any way that we could avoid repeating the same post again and again in different category blocks within the same page?

Thanks again.

Post count: 18283

Hello !

Unfortunately the only option that you have is to manually hide them using negative ids. For example here I want to hide post ID550, in order to do that I use -550 in the id filter as you can see here: https://www.screencast.com/t/gMr8Shvym0N if you want to hide more posts you can add a comma ” , ” after each id.

Thank you !

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