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 🙁

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

 

AJ Clarke
Post Author: AJ Clarke

Hey. My name is AJ and I am the boss around here. I own and operate WPExplorer. A website dedicated to everything I love about WordPress.

Disclosure: This page contains external affiliate links that may result in us receiving a comission if you choose to purchase said product. The opinions on this page are our own. We do not receive payment for positive reviews.
Got something to say? Join the discussion.
  1. Thank you so much.
  2. Melissa Jean Clark says:
    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.
    • AJ Clarke says:
      AJ Clarke
      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).
      Admin
  3. john cartlon says:
    Thanks for providing the login with valuable features included in it.
  4. hellsing says:
    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.
    • AJ Clarke says:
      AJ Clarke
      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.
      Admin
  5. 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.
    • AJ Clarke says:
      AJ Clarke
      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?
      Admin
  6. 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.
    • AJ Clarke says:
      AJ Clarke
      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!
      Admin

Leave a Reply