How to determine if custom menu is active?

You can use the function has_nav_menu('main-menu'). See the WordPress Codex here.

Leave a Comment