Divi Mega Menu / Restricted Categories nested in menu

Hi Forum

I’ve installed S2 Version 170722 + s2Member Pro v170722 and am running the Divi Theme.

I’ve one top level category with 7 child categories that I would like to hide in the default WP primary menu.
I have added relevant parent and category IDs to the ‘Category Level Access Restrictions’ under S2 Restriction Options and ticked the > Alternative View Protection > Nav Menus.

When constructing my menu in WP Dashboard > Appearance > Menus the restricted ‘Top Level’ is hidden correctly.
So are the restricted child categories IF I do NOT nest them beneath their parent category.

But if I nest them they appear in the menu.

So the problem seems to be the way Menu interacts with S2.

It would be great to get this working perfectly if possible.

Any ideas?

Thank you

Use the Nav Menu Roles plugin to achieve this.

1 Like

Thanks Tim.

Is this the one you had in mind?

Kind Regards

Yes, it is. Kathy Darling is a really good developer.

Thanks Tim
Works perfectly.

1 Like