This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

MetaPin

Maelezo

MetaPin was written to do one thing, and hopefully do that one thing well. That one thing? Add metadata to img tags that Pinterest can use to get relevant information about the image. This allows you to change the image that gets pinned, restrict pinning of an image, ensure that all pins will be consolidated to the correct pin on Pinterest, specify the URL that is pinned, and provide rich pin descriptions without spamming your alt or title attributes.

MetaPin allows you to change the pin attributes for every instance of an image. This means that you’ll be able to use an image on multiple posts, say one an item description and category aggregation page, and configure different pin descriptions for each instance of that same image.

The MetaPin plugin is very simple, and you’ll only see a panel show up when you edit an image inserted into a post either with the block editor or classic editor. You will see the fields for each of the configurable items listed below.

The following data is added to instances of images embedded in posts:

data-pin-description

Pin description allows you to add hashtags and more wordy pin descriptions without spamming your alt attribute for your images. This can help with SEO and ensure that all the images on a page generate the same pin description

data-pin-url

The URL provided here will change which URL the pin created from this image will point to. This could, for example, be used to add UTM tags to pins to be able to track how many clicks you get on your pins because somebody pinned an image from your site.

data-pin-id

The Pin ID is less straightforward. Each pin has a unique ID, and this allows you to ensure that when an image is pinned that it counts as the same image as the one with the pin ID that was provided.

data-pin-media

The media URL provided here allows you to “force” or encourage a user to pin a different image or media than the one that they chose. This allows you to have a long pinnable image that shows up on the pin that is never loaded on the page that you want them to pin.

data-pin-nopin

Simply put, this attribute tells pinterest not to allow pinning of this image.

All of these attributes are just metadata that a pinning client that doesn’t conform to Pinterest’s guidelines may choose to ignore.

Screenshots

  • Accessing the meta fields with the Classic Editor
  • Classic Editor Fields
  • Block Editor Fields

Installation

Since this doesn’t modify anything in the database, installation and removal are low risk. The block editor version does store attributes on an image item, but it should work when switching between the classic and block editor.

Reviews

Disemba 28, 2022
It took me some major time to track down that it was THIS plugin, out of 76, that causes my block editor to crash 100% of the time. I’m quite upset about it, as I didn’t think this plugin could have anything to do with such problems. I use the latest Genesis Pro + Genesis theme, so perhaps avoid if you’re using Genesis, or perhaps even just the block editor…. Current date: 28 December 2022
Machi 1, 2020 1 reply
Great plugin, does exactly what it says it will do. Very easy to edit images and add your pinterest description. I wonder if it would be possible to have a meta title box to add a different tittle than the article title? Thank you!
Oktoba 23, 2018
It does what it needs to do. I was looking for a plugin where I can add data-pin-description for pinterest and with this plugin I can do it. In the editor click on the img edit button then there you can find the inputs. Thanks for the plugin!
Soma maoni yote 4

Wachangiaji & Wasanidi

“MetaPin” is open source software. The following people have contributed to this plugin.

Contributors

Translate “MetaPin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.