Normally the title attribute of an image show up when hovering the mouse over an image. This behavior can easily be avoided by removing the title attribute-tag from the image. However if the site is already crowded with hundreds of images, removing each and every title attribute-tag can be a time consuming job. This plugin simply filters out all title attribute-tags before they are sent out to the browser. Install into the theme plugin directory, activate, and you’re done! No more titles show up when hovering the mouse over images on your site!
How it Works
All the plugin do is adding a hook to ‘the_content’ and to ‘post_thumbnail_html’ and removes all title-tags before they are sent to the browser. The plugin will only work for what is contained in ‘the_content’ and the ‘post_thumbnail_html’, i.e. it will not remove title attribute-tags from other parts of the site.
This plugin is free for everyone! Since it’s released under the GPL, you can use it free of charge on your personal or commercial blog. 🙂
- Upload ‘img-title-removal.php’ to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Will the plugin remove all original img-titles that once were entered in the posts?
No, the plugin will not remove any title tag from any post. It will only filter them out before they are sent to the browser.
“Img Title Removal” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.المساهمون
- Fixed reported compatibility issues with other plugins (Portfolio Slideshow).
- Added support for also removing titel tags from thumbnails. Many thanks to Luisa Ambros Costa for giving me the tip to fix this!
- First version.