Title attribute displays the title attribute of pictures or link on mouseover. It helps viewers provide more context about the post. In this article, we will guide you to add title attribute to your WordPress navigation menus.
Why use the title attribute in menus?
Title attribute provides viewer to know extra information about the pictures or link on your WordPress site. Having a title attribute on your website gains more attention of your users to the content.
Adding title attribute in WordPress navigation menu items
In order to add title attribute in WordPress navigation menu items, you can follow the steps below:
- Go to: Appearance > Menu and click on ‘Screen Options’ tab in the right corner. Demo picture is shown below
- Click on checkbox next to ‘Title Attribute’
- Now click on any menu item in the existing menu to expand it and simply fill the details as shown in the picture below:
- After that click on save. You can see the Title attribute demo picture below:
(Note: You can even use jQuery to add fancy tooltips on mouse over effect.)