Blog element: show posts of certain categories, and exclude posts of a certain category
Hi,
I want to filter posts via blog element.
It should show posts of certain categories, and at the same time, not show the posts that have a certain category.
Is there a built in possibility?
Thx in advance and best regards
Markus
Comments
Hi,
In the Blog element, you can choose which categories you want to display in the Multiple Categories field.
However, there is no option to exclude the whole category, so if you do not want to display some posts, you need to put IDs of these posts in Exclude Posts field and separate them with commas.
Best regards
Thx for your reply.
I did it now with CSS, display:none of the respective category
Hello, can you please post the code you used?
I have the same issue.
Thank you,
Marco
Here we go, I hide posts of the category "category-keine-weiteren-veranstaltungen" on the startpage with:
.home .category-keine-weiteren-veranstaltungen{
display:none!important;
}