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

Pinterest Repellent

外掛說明

Extending the image attributes to include nopin=”nopin” within the <img /> tag. The nopin attribute blocks the specified image from being pinned when using the “Pin It” button.

An example would look like: <img src=”yourimage.jpg” nopin=”nopin” />

This plugin does not automatically add the nopin attribute to every image within your blog; it merely allows you to add it to your images without fear of WordPress removing the tag when your post is published.

PLEASE NOTE: This plugin overides current image tag attributes, thus if you use any other attributes other than the ones listed below, they will be removed from your image tags automatically once this plugin is activated.

Available attributes:

  • src
  • alt
  • title
  • class
  • id
  • style
  • align
  • border
  • crossorigin
  • height
  • hspace
  • ismap
  • longdesc
  • usemap
  • vspace
  • width
  • onmouseover
  • onmouseout
  • name
  • aria-describedby

安裝方式

This section describes how to install the plugin and get it working.

  1. Upload nopin.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Will this plugin automatically add nopin to all images on my WordPress site?

No. Once this plugin is activated, you will have to add nopin=”nopin” within the images that you wish to not have pinned.

Can this plugin change other attributes within my image code?

Yes, it’s possible. If you use any other attributes other than the ones listed here, they will be removed by activating this plugin. If you only use any of these attributes, then nothing will change.

Available attributes:

  • src
  • alt
  • title
  • class
  • id
  • style
  • align
  • border
  • crossorigin
  • height
  • hspace
  • ismap
  • longdesc
  • usemap
  • vspace
  • width
  • onmouseover
  • onmouseout
  • name
  • aria-describedby

If you find I’ve missed a common attribute, please let me know through the support tab and I will add it to the list.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈Pinterest Repellent〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • No changes made to original plugin.