[Resolved] Menu item // tag a – title?

Home Forums Support [Resolved] Menu item // tag a – title?

Home Forums Support Menu item // tag a – title?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #948368
    Sebastien

    Hi,

    I’ve noticed that there is no title into the <a> tag rendered by menu items, that it doesn’t seem SEO optimized.
    Is there any reason?
    I would like to enable the title.

    I already use a php loop that modify the title of the menu item:
    $item->title = $result.'<span class="titre-menu">'.$item->title.'</span>';

    I would like create another line that adds the title of the <a title='.$item->title.'> and keep the href="/...." the same.

    Is it possible? can you help?

    thanks

    #948402
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You’re wanting to add a title to the menu item links? Don’t the menu items have titles (the text you can see)?

    If you wanted to add additional titles, you can turn on the Title option in “Appearance > Menus” by opening “Screen Options”: http://prntscr.com/oaappa

    Then you’ll be able to add your titles inside each menu item on that page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.