I want my main nav bar to display menu items with very short description of said menu under each item's title.
To do this, I was hoping to just inject the menu item's 'title' attribute into the 'after' function below. Not quite sure how to do this:
// the main menu
function bones_main_nav() {
// display the wp3 menu if available
wp_nav_menu(array(
'container' => false, // remove nav container
'container_class' => 'menu clearfix', // class of container (should you choose to use it)
'menu' => __( 'The Main Menu', 'bonestheme' ), // nav name
'menu_class' => 'nav top-nav clearfix', // adding custom nav class
'theme_location' => 'main-nav', // where it's located in the theme
'before' => '', // before the menu
'after' => '', // after the menu
'link_before' => '', // before each link
'link_after' => '', // after each link
'depth' => 0, // limit the depth of the nav
'fallback_cb' => 'bones_main_nav_fallback' // fallback function
));
} /* end bones main nav */
I'm also worried about this interfering with drop-down functionality. Any help would be greatly appreciated.