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 You Might Also Like Update operation using ajax in wordpress custom theme October 25, 2024 Insert operation in wordpress custom theme October 22, 2024 How to display Sub category in wordpress custom theme January 1, 2025 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.