這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Img Title Removal

外掛說明

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.

Licence

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. 🙂

安裝方式

  1. Upload ‘img-title-removal.php’ to the ‘/wp-content/plugins/’ directory
  2. 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.

使用者評論

2016 年 12 月 23 日
Simply works
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Img Title Removal〉的開發相關工作。

參與者

將〈Img Title Removal〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • Fixed reported compatibility issues with other plugins (Portfolio Slideshow).

1.0

  • Added support for also removing titel tags from thumbnails. Many thanks to Luisa Ambros Costa for giving me the tip to fix this!

0.2.1

  • First version.