WordPress Tips: How to Add a Pinterest Button to Your Blog Post Images

Want to know a secret? It’s super easy to add a Pinterest button to your blog. That’s good news right?


In this post I’m going to show you how to add a Pinterest button to your blog in under 10 minutes. Woot woot!


From your WordPress dashboard navigate to Plugins > Add New. Search for Pinterest Pin It Button For Images. It should be the first result, but if not be sure to find the right one in the list. Then, click “Install Now.” Once the plugin is installed, click Activate.

Now, when you hover the Setting option in the sidebar you should see the Pinterest Pin It option. Click it! The screen you now is your admin panel for this plug. Lets talk about your options…


You need to customize the plugin a bit to work just right with your blog.

  • For content width, you want to put in the width of the content area of your site. Typically, this is around 600-700 pixels. If you’re unsure what to put, stick with the default number.
  • Now, you need to decide where you want the Pin It button to show. Do you want it on every single image on every single type of page or post? If so, check all the boxes. I stick with the defaults — Index/Home and Single Post.
  • The next box allows you to choose on a page-by-page basis whether or not use the button on that particular page. This is just more work for you and your workflow, so I say don’t check it.
  • The Advanced section is just what it says — advanced. The average user won’t need to worry about these. If, however, you want to control which images are pinnable and which aren't, you need to check the box that says “Show ‘Pin It’ button only on images with “pinthis” class. When you insert a picture into a blog post, you then add a class tag if, and only if, you want the Pinterest button to appear. Here’s what the code looks like:

So, that’s how to add a Pinterest button to blog posts. Easy peasy, no?