How to Add WordPress 3.0 Menu to Thesis 1.7

custom_function.php

function wp3_nav_menu() {
  add_theme_support('nav-menus');
  wp_nav_menu('fallback_cb=thesis_nav_menu');
}
add_action('thesis_hook_before_header', 'wp3_nav_menu');
remove_action('thesis_hook_before_header', 'thesis_nav_menu');

custom.css

.menu .current-menu-ancestor > a, .menu .current-menu-parent > a { background-color: #F0EEC2; }
.menu .current-menu-item > a { background-color: #FFF; }

Leave a Comment

Your email address will not be published.

Scroll to Top