Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
  • #7099

    Hello –

    When I originally set up my site I added “title attributes” under each menu option on the left nav. They all displayed properly, but then I changed the description on one and it no longer displays. I’ve tried all the basic stuff to troubleshoot it, but can’t get it to work. The site is Would appreciate your help on this.





    you can change this behaviour in flashlightincludesadminregister-menu-walker.php – open up the file and search for following line:

    $attributes  = ! empty( $item->attr_title ) ? ' title="'  . esc_attr( $item->attr_title ) .'"' : '';

    You can replace it with any title content of your choice – i.e. the link text:

    $attributes  = ! empty( $item->title ) ? ' title="'  . esc_attr( $item->title ) .'"' : '';


    Maybe I’m not clear on how to use the line of code. I replace the original with the new line – as is with no changes. This didn’t resolve the issue. I even tried creating a new full menu by replacing all the buttons, and none of the new menu options have the text underneath them (title attributes). In fact, I tried updating the text on an existing menu and it doesn’t update when viewed on the home page – the original text remains. It’s as if the code is not referencing the title attributes on the menus any longer. I wonder if this is a bug introduced with version 1.3 of the Flashlight theme. Let me know what info I can send you to help troubleshoot this…

    Thank you,



    Please revert the change above and create me an admin account and send me the login data to: (Email address hidden if logged out) – I’ll look into it.


    The info you requested has been sent and the code change has been reverted.

    Thank you.


    I think I fixed your problem :)


    Hello, I have the similar issue with this theme bug (small text under the menu title). I would like to customize this small text for each menu title without showing it after mouse hovering (as it is in the original Flashlight theme) or at least get it off for all menu. It is not allow me to do that now. Thank you for your help.



    I’m not sure what you mean but under Appearance > Menu’s you can edit the small text. To hide it when you hover it you can add this to your Quick CSS in the theme options:

    .main-menu-description:hover {
    opacity: 0 !important;


    Hello Chris, sorry maybe I didn’t explain it correctly. I have the similar problem as llasalle have had above but I don’t know how did you solved it. Please have a look at my webpage For example there is a small text in the Kontakt menu saying “Get in Touch”. I would like to change it as well as I would like to add text under each main menu buttons. Thank you.



    In Appearance>Menus under Theme Locations (you’ll see “Your theme supports 1 menu. Select which menu you would like to use.”) You have to activate a menu. Then, you’ll be able to edit the description of the menu – which will show below your Menu Item as small/sub-text.


    Chris, I’m not sure where I can edit Menu sub-text. If you mean in the “Title Attribute” option – it’s not working… The Kontak menu sub-text on my webpage still says “Get in Touch”, even though the “Title Attribute” option is empty. When I tried to alter the “Title Attribute”, the Menu sub-text wouldn’t show up. So I’m stuck. Would really appreciate your help.


    You need to activate the “description” input field. On the menu manager page click on the “Screen Options ” tab (right top corner) and select/check the checkbox for “Description”. Afterwards a new option field for each menu item will appear which allows you to add a description text or to modify the existing one.


    Perfect, thank you :)


    Glad that I could help you :)

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘"Title Attribute" on menu is not displaying’ is closed to new replies.