...
...

jQuery active class based on the page url

jQuery, Tutorials, Wordpress | 23 August 2018

Sometimes we need to add active class to our custom menu items or sidebar menus. Simple bit of jQuery to add an active class to the current navigation item based on the page url.

View More