Add active class in current page link in wordpress It uses the following code to add the class “active” to any links in the header if the user is currently on that page: <style> .current_page_parent a { color:red; } </style> Tags: highlight active menu, highlight active navigation item, how to highlight a certain menu item, wordpress add current menu item class, wordpress current menu item, wordpress current menu item anchor, wordpress current menu item css, wordpress current menu item not working, wordpress current menu item on single post, wordpress current-menu-ancestor, wordpress current-menu-item not showing, wordpress highlight current menu item Cook with me Share this content Opens in a new window X Opens in a new window Facebook Opens in a new window WhatsApp You Might Also Like Custom template in wordpress theme January 9, 2024 How to display post category wise in wordpress custom theme January 11, 2024 How to display post in wordpress custom theme January 8, 2024 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.