WordPress.org

Forums

WordPress Menu (7 posts)

  1. MaddTechWF
    Member
    Posted 3 years ago #

    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?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    What are you using to generate the menu?

  3. MaddTechWF
    Member
    Posted 3 years ago #

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

    <?php wp_nav_menu(array('menu' => 'Custom Menu' , 'menu_class' => 'level-1 black')); ?>
  4. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

  5. MaddTechWF
    Member
    Posted 3 years ago #

    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.

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

  7. MaddTechWF
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.