Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

When using the WYSIWYG editor to create links, and selecting an existing page or post from the selection list, those links will have a title attribute by default.

Is there a simple way of turning off this behaviour? I would like turning it off at its root (i.e., in the WYSIWYG editor) rather than hooking into the final result when it is output.

Is there any way to do this that doesn't require JavaScript (here is a solution that does) and doesn't require manually parsing the attribute out of the final HTML end result?

Googling stuff like wordpress remove title attribute post content doesn't seem to yield any helpful information - what they show is mostly removing the attribute from menus and page lists.

share|improve this question
    
The title attribute is a useful for SEO and Accessibility as it gives more meaning to the link than just 'click here!' for example. I would leave it in and avoid removing it otherwise you'll be hurting some of your visitors with bad links etc. –  Alex Older Feb 28 '12 at 15:06
    
Thanks, but I have pressing reasons for getting rid of it. Chrome's tendency to display them on hover, for one; the link title not matching the linked text and creating confusion, for another. –  Pekka 웃 Feb 28 '12 at 15:20
    
The title attribute is not useful for SEO. It was in the past, but it was discounted by most engines due to abuse. Source: I do SEO for a living. –  chrisguitarguy Sep 22 '12 at 16:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.