Context Manager makes your site behave depending on the context.
website has e-commerce shopping functionality driven by custom post type called 'products There's archive page called 'shop that lists products and is linked to in the navigation menu..
user visits 'shop and the menu item becomes 'active, but when they click through to product, the menu item loses its state.
Give it meaningful name in the title field.
Choose Emulate current page as child but do not create menu item as the menu rule.
Find your products page in the menu dropdown..
On the product page, there are irrelevant widgets that distract the user from making purchase..
The whole shop section requires its own colour scheme, but there's no common class that ties all the pages together..
Enter shop-section class name in the body class reaction.
Have look at screenshots to see the above setup in action..
Read more