Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Check if is a search page before add active class to menu item #223

Merged
merged 2 commits into from
Dec 7, 2019

Conversation

marcelo2605
Copy link
Contributor

If the search result shows posts from a CPT that has an archive link in the menu, this link will have the class active. I think this can confuse the user.

@retlehs retlehs merged commit c8b2c90 into roots:master Dec 7, 2019
@retlehs
Copy link
Member

retlehs commented Dec 7, 2019

thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants