Categories: Tips & Tricks

Remove the title attribute using jQuery

In WordPress, when you use wp_page_menu your anchor attribute’s usually carry a title with the same name. I’m not sure if it’s correct to do this, but it bother me when I hover over a page menu navigation link and I get a hover of the title.

So on my site I used jQuery to remove the title:

$("#nav a").removeAttr("title");

Pretty simple huh?

Web Master

Hi, I am Miguel, I bought this site in 2009. So I now run or manage the site. Please visit my new website or follow me on twitter @W3i.

Recent Posts

Search Unleased: A custom WordPress plugin

Most all WordPress theme's use a a simple search form to search your site. But…

3 hours ago

Limit the characters that display on the_title

Ever wanted to display the title of a post somewhere but limit the amount of…

9 hours ago

MichaelCHall.org

21 hours ago

The launch of WordPress.tv

Hey, in case you are unaware, WordPress has launched a new site called WordPress.tv. Check…

1 day ago

10 Steps to Evaluating and Measuring Your Marketing Strategy

When you are trying to market a product, the product or service is only as…

2 days ago