title: How do I customize WordPress's wp_nav_menu function
body: <p>I'm working on a WordPress site and the top nav is generated by:</p>
  
  <p><code>&lt;?php wp_nav_menu(array('container_class' =&gt; 'nav', 'sort_column' =&gt; 'menu_order', 'theme_location' =&gt; 'top_nav')); ?&gt;</code></p>
  
  <p>And it picks up the nav items from the defined list in the wp_admin.</p>
  
  <p>Thing is, I want each item to have extra, conditional, CSS on it. Specifically, </p>
  
  <p>1) on hover, I want the text to color up, as well as a same-colored line to appear.</p>
  
  <p>2) When I'm in a certain area (determined by slug) I want that menu item to stay colored. i.e.: active</p>
  
  <p>3) Each of the menu items have different colors - it's not universal across the nav.</p>
  
  <p>Obviously, the CSS behind this is simple. My question is how to keep the "black box" aspect of using wp_nav_menu() but still be able to put all that conditional code in the nav. </p>
  
  <p>Is this possible?</p>
  
  <p>Thanks!</p>