Support » Themes and Templates » WordPress Menu

  • I’ve got my menu working but I was trying to use the title attribute in a different way. I would like to show the Title Attribute below the menu name. Can anyone help me with this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    (@esmi)

    Forum Moderator

    What are you using to generate the menu?

    I’m currently using this in my header.php:

    <?php wp_nav_menu(array('menu' => 'Custom Menu' , 'menu_class' => 'level-1 black')); ?>

    esmi

    (@esmi)

    Forum Moderator

    In that case, you’re out of luck. 🙁 There’s no way (that I know of) to get wp_nav_menu to output the title attributes to the displayed page.

    Well if there is a specific function that I need to switch to to get this working, I’m open for suggestions. I just used wp_nav_menu because that’s what I’m use to using.

    esmi

    (@esmi)

    Forum Moderator

    There isn’t a template tag/function that will do what you want. So you would have to effectively build your own page menu generation function.

    Any good reference material you can suggest? I’m really interested in building my own page menu generation function.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress Menu’ is closed to new replies.