內容簡介
通常圖片的title屬性在滑鼠懸停在圖片上時會顯示。透過刪除圖片中的title屬性標籤,可以輕鬆避免此行為。但是,如果網站已經擁有數百張圖片,逐一刪除每個title屬性標籤可能會耗費很長時間。這個外掛只需在圖像傳送到瀏覽器之前過濾掉所有title屬性標籤。將它安裝到主題外掛目錄中,啟用,就完成了!在您的網站上,當滑鼠懸停在圖片上時,不再顯示任何標題文字!
運作方式
此外掛程式只需在‘the_content’和‘post_thumbnail_html’中添加一個掛鉤(hook),然後在將其傳送到瀏覽器之前,刪除所有title屬性標籤。此外掛程式只適用於‘the_content’和‘post_thumbnail_html’中的內容,即不會從網站的其他部分刪除title屬性標籤。
授權
這個外掛程式是免費的!由於它的發布授權是GPL,您可以在個人或商業部落格上免費使用它。🙂
外掛標籤
開發者團隊
原文外掛簡介
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. 🙂
