Show only subcategory post

Posted in: Newspaper
Post count: 8

We have Subcategories, for example Lifestyle > Moda. In Fashion we have the filter of that exactly category, but it’s showing also the father category posts (Lifestyle).
We need to show only the Moda subcategories posts.

Example

Post count: 35449

Hi,
If you want to display the articles from subcategories of a parent category, there are 2 methods:
1. Display articles from all subcategories except the main category, set the main category in the filter of the flex block and exclude the parent category – https://prnt.sc/0ME1PVUO-2gT
2. Display only articles from desired subcategories, for this use the Multiple terms filter: and set the subcategories ID separated by commas – https://prnt.sc/JyPa2vpPzJBu
https://forum.tagdiv.com/flex-block-settings-guide/

Post count: 8

Something is not working propertly on filters.
I’ve tried both options and read the guide, but still not showing the one category that I want.
If we put the subcategory filter and Order: “Random posts” for example, it works fine, it only shows that subcategory. But when you put in Order: “Latests”, it shows the parent categories or other ones that are not related and that we don’t want.

“Latest” it’s configured to show all the latests posts in general?

Post count: 35449

Hi,
“Latest” will display the latest articles based on teh rest of the settings that have been made. If a category is set, it will be the latest from that category.
Could you provide some screenshots with teh category as I provided and another one with the settings from the block?

Post count: 8

Here you can see screenshot
1) https://ibb.co/zVdKkmYr
2) https://ibb.co/7NX7vZ53

Post count: 35449

Hi,
Checking the screenshot provided, you have set a category “Moda” in the filter and this is also excluded from the results. The results from the block seem to be correct (just make sure when you set a category with subcategories to have correct results when is set in the category filter and you exclude that main category in the multiple terms filter).
Do you have any offsets set in the general tab?
Thank you!

Post count: 8

Here you can see all the variations of configurations filter and nothing works.
https://ibb.co/N2z5TNDH
https://ibb.co/21HYwYnf
https://ibb.co/Tjh05Gm

Do you have any offsets set in the general tab? I don’t have any set i think so.

Post count: 35449

Hi,
I do not understand how you made the settings there, and unfortunately, from the provided screenshots. Could you contact us via email at contact@tagdiv.com and provide a temporary wp-admin access to check this? https://www.wpbeginner.com/plugins/how-to-create-temporary-login-for-wordpress-no-passwords/
Include the link of this topic to identify you faster.

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