WordPress Code Snippets

A fresh mix of code snippets and tutorials

Disable Pinterest on Your Pages

238

Pinterest is a social-media service that people can use to collect your site’s images. The Pinterest browser extension and app add a “Pin it” (or whatever) button to the images that are included on your web pages. That way users can just click a button to add your images to their account on Pinterest. Fortunately, Pinterest gives us a way to opt out. Here is how to disable the “Pin it” functionality via the HTML <meta> tag.

There are two ways of going about disabling Pinterest apps and extensions from working their magic on your pages. Add the following tags to the <head> section:

That should definitely do the job, although both meta tags probably aren’t necessary. Also, there may be other meta values that you can use to modify default Pinterest behavior. If you find any others, please let me know so I can add them to this tutorial. Thanks!


Show Support

Like our new Facebook Page to show support!