Show menu link descriptions for a custom navigation menu I have the following navigation, displayed in page.tpl.php:

theme('links', array('links' =&gt; menu_navigation_links('menu-site-navigation'))); 


There are four navigation elements that show up. I would like to display the description that goes along with these elements as well, how do I go about that?

In my template.php file I have the following code, but I can't figure out how to only apply this change to menu-site-navigation

function MYTHEME_link($variables) {
   // if there is a description for the menu item, show it
  if(!empty($variables['options']['attributes']['title'])){
      return '&lt;a href="' . 
      check_plain(url($variables['path'], $variables['options'])) . 
      '"' . drupal_attributes($variables['options']['attributes']) . '&gt;' .
      ($variables['options']['html'] ? $variables['text'] : check_plain($variables['text'])) . 
      '&lt;/a&gt;&lt;div class="description_nav"&gt;' . $variables['options']['attributes']['title'].'&lt;/div&gt;';
  }
  else{ 
    return '&lt;a href="' . 
    check_plain(url($variables['path'], $variables['options'])) . '"' .
    drupal_attributes($variables['options']['attributes']) . '&gt;' .
    ($variables['options']['html'] ? $variables['text'] : check_plain($variables['text'])) .
    '&lt;/a&gt;';
  }


}
Here are two things that may help you get this going:


It looks like you're calling the theme_links() rather than the theme_link() function in your page.tpl.php file, so make sure that the call and theme function implementation match.
You could add additional information to your links when you theme them to distinguish them from other links.  For example, notice how I'm adding an id in the 'attributes' section below, so I can check for it later, in my theme_links implementation


Does that help?

 print theme('links', array(
  'links' =&gt; $secondary_menu,
  'attributes' =&gt; array(
    'id' =&gt; 'secondary-menu',
    'class' =&gt; array('links', 'inline', 'clearfix'),
  ),
  'heading' =&gt; array(
    'text' =&gt; $secondary_menu_heading,
    'level' =&gt; 'h2',
    'class' =&gt; array('element-invisible'),
  ),
));