Highlight Current Page in WordPress 3.0 Menus
-
Hello,
I am building a theme: https://wp-themes-and-plugins.com/ and am trying to highlight the current page ( active ) in the top navigation menu. I’m using the ( 3.0 menu system )
For functions.php – code I’m using: `<? if (function_exists(‘add_theme_support’)) {
add_theme_support(‘menus’);
} ?>`For the header.php – code I’m using:
<?php wp_nav_menu('menu=main_menu'); ?>
I can not seem to get the current page menu title to highlight when active. I’ve used resources from several different sources that provide tutorials on doing this – none of them work for me.
Resources I’ve tried:
Any assistance will be very much appreciated.
Thanks in advance
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Highlight Current Page in WordPress 3.0 Menus’ is closed to new replies.