How to show only subcategories from 2nd level in mega menu?

Posted in: Newspaper
Post count: 23

Hello,

I’m using in my header template the mega menu.

For example in my menu you have “Health”, “wellness”, and “family”
And when going on “Health” the mega menu display:
– subcategories of “Health”
– 4 articles for each subcategory

BUT

We have 2 levels of subcategories
Health
– Cancer
— Breast Cancer

And at the moment both Cancer and Breast Cancer are displayed.

How can I do to only have Cancer or only Breast Cancer subcategory level displayed?

Thanks!

A

Post count: 27744

Hello,

You need to set the limit here https://i.imgur.com/O5MO8uH.png to show how many subcategories.

Thank you!

Post count: 23

Hello,

Thanks but this is not my question.

My question is: How can I do to ONLY display subcategories from level 2 in the mega menu.

Best regards,

Post count: 27744

Hello,

Unfortunately, you can not choose what subcategories to display in the mega menu.

Thank you!

Post count: 23

And at the bottom of our articles, we have a module to share articles from the same category but same the category taken into account is the first level category not the subcategory.

Can we choose the level of category here or not?

Best,

Post count: 27744

Hi,

Can you please provide screenshots about what you mean?

Thank you!

Post count: 23

Hi!

There you go with the screenshots: https://www.swisstransfer.com/d/588d19f2-0634-44ca-be91-bb6ff50291f3

Our article is part of the first level category “health” and category second level “digestive system” and then third level “digestive problem”

At the bottom of the article, we have a related articles section called “single related post” which must show articles from the same category

BUT the category taken into account is the “health” category so the first level category while we want to display ONLY articles from the third category level “digestive problem”

How can we do that? Shall we change our third level categories into tags? or can we apply a sort of only this third level categories?

Thank you in advance,

Post count: 27744

Hello,

Please use the special filter for category: current category. Read more about it here: https://forum.tagdiv.com/flex-block-settings-guide/
For each category, you have a special filter for the current category, which displays the posts from that category dynamically in each category.
Please let me know the results.

Thank you!

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