Customize which menu item is marked active

WordPress adds a class of .current-menu-item to menu items when you are on that page. But sometimes you might want a menu item marked active in other instances. On my website, I wanted the “Blog” menu item to be marked...

We do not write or claim ownership of any of the articles featured on this website. Instead we aim to highlight them so you can read the full article at the original source. To finish reading this article, follow the continue reading link below. CONTINUE READING
Author: Bill Erickson

Bill Erickson is a WordPress Consultant, an entrepreneur, a fiancé, a sazerac enthusiast, and an amateur photographer.

http://www.billerickson.net/

Sign up to our newsletter

Don't worry, we won't give your email to any third parties
and you can unsubscribe at any time.