Answer the question
In order to leave comments, you need to log in
How to make a certain menu item active in Wordpress for a post?
Such a task is worth it. Made a blog on WordPress. You need to make sure that when you go to the post, the "My blog" element becomes active in the menu. Because the menu items become active only for pages
Please, tell me how to do it. Thanks in advance
Answer the question
In order to leave comments, you need to log in
WordPress already generates the required CSS class.current_page_parent
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question