title: Adding active class to wordpress 3+ menu
body: <p>I'm having problems with adding active class to wordpress menu. (If is home highlight home, if blog highlight blog and so on... )</p>
  
  <p>I'm using superfish menu.</p>
  
  <p>I have this in my functions.php</p>
  
  <pre><code>function me_register_menu() {
  register_nav_menu('main-menu', __('Main Menu'));
  }       
  
  add_action( 'init', 'me_register_menu' ); 
  </code></pre>
  
  <p>And in my header, where my menu is </p>
  
  <pre><code>&lt;?php 
  if ( has_nav_menu ( 'main-menu' ) ) {
  wp_nav_menu( array ( 'theme_location' =&gt; 'main-menu' , 'container_class' =&gt; 'grid_7', 'container_id' =&gt; 'menu' , 'menu_class' =&gt; 'menu sf-menu') );
  }
  ?&gt;
  </code></pre>
  
  <p>I'd like to add .active class to my active menu. Any ideas how?</p>