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.
- Upload
nopin.php to the /wp-content/plugins/ directory
- Activate the plugin through the 'Plugins' menu in WordPress