Block Exclude Filtering option not working

Posted in: Newspaper
Post count: 5

Hi,

in my homepage I’m using a Block 2 using the “Multiple categories filter” option to exclude some categories putting the relevant negative values (e.g. -1, -6) and the IDs values I used have been retrieved from the “Category filter” dropdown menu. Unfortunately I still found those categories inside my page. Am I missing something or doing in a wrong way?

Thank you,
Andrea

Post count: 22421

Hello,

Please provide more details so we can better understand how you sorted the block. Please post a screenshot of the block settings you use and an link to your site.

Thank you!

Post count: 5

Hi,

sorry I wasn’t able to upload the pictures before. So, this is the main block 2 settings including the list of categories:

Block 2 Categories List

This one is the list of IDs that I want to exclude (-1 for no-category, -5 for vibes category and -6 for featured category).

Block 2 Exclued Filtering List

An this is the result page:

Results Page

As you can see from the final screenshot (I cannot provide the link because the site is in maintenance) both Vibes and Featured categories are there (NO posts without category is present in our site at all, just put it the filtering for safety).

Thank you,
Andrea

  • This reply was modified 8 years by DinamoDEV. Reason: Editorial
Post count: 22421

Hello,
You are confusing the filter with the ajax filter it seems. The filters you apply to the block, applies only to the posts shown in the block, not to the menu you can see above the posts. That is a different menu called an ajax filter. Please read this guide: https://forum.tagdiv.com/block-settings-tutorial/
You can find the ajax filter options in the same block settings but under a separate tab.

Thank you!

Post count: 5

Thank you for the reply, indeed you’re right. My understanding was that the ajax filter was related to the real Block content filtered out from unwanted categories (that in the end is my case). Instead, if I’ve understood correctly the aim is to show in the block itself only the categories I decide but in any case with the ajax filtering I have the chance to see also other categories that have been filtered out from the block, am I correct?

Another question: is the ajax filtering only inclusive? Shall I have to add one by one all the categories I want to add? Is there a way to use the same exclusion logic with minus before ID?

Thank you

Post count: 22421

Hello,

Yes, you seem to have gotten it with the ajax filter. The ajax filter is to show extra categories in that block. but they have no immediate tie to the posts that are filtered on the first view.

For the second request, you can only use inclusion. The ajax filter does not support excluding categories. You will have to add the ones you want shown.

Thank you!

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