Automatically Add Link Title Attributes To Post Links In WordPress

In one of the recent WordPress updates they updated the way the “Insert Link” works in the post editor where previously it had a field for adding the link title attribute now it has a field for altering the link text. This makes it much harder to add your link tittle attribute (must be done in “text” mode). This really annoyed me… The text title can be altered on the actual post editor so the extra field is useless, whereas the title attribute can only be added via text mode using HTML now 🙁
#WordPress – Why, why, why would you remove the "Title" tag from links added in the editor and replace it with a text field?
— WPExplorer (@WPExplorer) April 27, 2015
There are some plugins out there that you can activate to re-add the field for editing the link title, however, to keep thinks easier I decided to develop a little plugin that will allow me to filter the post content and automatically add link title attributes to all links that don’t have a title tag defined this way we don’t even have to worry about link titles when writing posts and the plugin will also “update” all old posts that may be missing link title attributes. The best part is that it also supports links with images so if you have links added to your images it will automatically grab the link alt or title (backup) attributes and set them for the link surrounding it.
This plugin can be downloaded for free for all WPExplorer users. Have a look below:
WP Auto Post Link Title Attributes
Thank you so much.
It’s actually best not to use the title attribute – for accessibility reasons. Screen readers don’t read the information. It would be better to put descriptive text in the link text.
You are correct, but it’s probably best to do both 😉 For SEO it’s best to include the title attribute (unless things have changed and I am unaware).
Thanks for providing the login with valuable features included in it.
Hi AJ. I don’t know how to reach you with regard to the Tetris Free Masonry Tumblog WordPress Theme. Should I be worried it’s no longer available at WordPress.org? Is the Tetris Theme still supported and where can I go to check for updates? How regularly is it updated? I’m using it with two of my WordPress sites and with the way security has become a problem, just want to make sure the theme is still up to date. It’s one of the best themes I’ve used so far. I searched for premium, but looks as though it’s a free theme only.
The Tetris theme was never offered at WordPress.org. You may be looking at different theme as often times themes have the same names. The Tetris theme we offer at our site is created, managed and updated by us. Updates are provided as needed so there isn’t a specific time frame. Support isn’t included for free, but you can use our bug report function to report any bugs.
unfortunately this plugin produces an error with the new wordpress versions and does not work. title attributes are still not added. is there any chance you could update it? this is exactly what i am looking for for a while now.
Hi,
There was a small typo in the plugin preventing the titles from being added and I just uploaded a fix. I also have added automatic updates for the future 😉 So you will have to re-download the plugin now to get version 1.1.0, but in the future you will see the updates in your WP dashboard.
In terms of “errors” I didn’t notice any…do you have a screenshot?
Thank you for this nice plug-in. I installed WP Auto Post Link Title Attributes plugin on ruyabul.com website, the plugin works. But Turkish Characters shows incorrect. Site language Turkish. What can I do?
Thank you.
I wasn’t able to locate the issue on your live site, did you de-activate the plugin? If you want to share an example of a specific “sentence” I can try on my local installation to see what could be going on – thanks!
it replaces all the same title in the same link but I have different anchor text.
Sorry, but I’m not sure what you mean. It should grab the anchor text and set it as the title tag. But..title tags are basically useless these days for SEO and also are not a good idea for accessibility. I would say this plugin is essentially deprecated and wouldn’t recommend it.