How to Add a Pinterest Button to Posts in New Blogger

One of my most popular posts has been my “How to Add a Pinterest Button to All Blog Posts” post. However, lately I’ve been getting questions on how to do it in the new Blogger interface. I updated the tutorial below. Hope this helps you navigate through the new look a bit easier!

1. Copy this code:

2. Once you’ve logged into your Blogger Account, click the Template tab and then select Edit Html.

Click Proceed, and an html box will pop up. Be sure to check the “Expand Widget Templates” box.

3. Look for <div class=’post-footer’> and paste the code directly after that.

4. Save your Template and you should be good to go!

Note that this coding makes the Pin It button appear on the bottom right side of your posts. If you want the button on the bottom left side of your posts, replace the <div style=”float: right; margin: 4px;”> coding with just <div>.

You can also customize your Pin It button. I used the standard Pin It image that Pinterest supplied, but changed its color to match my blog. You can really use any image that you want. Once you create it, host it online, and put its link in place of in the coding above.

Adding a button to your blog is a great way to help readers keep track of their favorite posts from your blog! They can easily find, or be reminded of, DIY tutorials they want to try or products they want to add to their wishlist! Give this Pin It button tutorial a try!

  1. Shannon 6 years ago

    You’re the best! Thank you for sharing this.

  2. Sara 6 years ago

    YAY!!!!!!!!!!!!!!!!! Thank you! You do not know how long I have wanted to know how to do this! Your directions were amazing. Thank you for being a blogging angel! XO

  3. Blake 6 years ago

    This is awesome!!! Thanks so much!!!!!!

  4. Melissa Ivette 6 years ago

    This was a great help! I did it! I’ve been trying to figure that out since forever ๐Ÿ™‚

  5. Bethany 6 years ago


  6. Suzanne 6 years ago

    Oh my gosh, I think I have done it! Thanks to your help! I didn’t edit my html though (chicken) I clicked “settings” “basic” and then “posts and comments” and added the code there. (less damage if I messed up?) Anyways, just pasted your code there, and did a test post, THERE IT WAS – all beautiful and “pin it”-y. THANK YOU!

  7. Amalia K 6 years ago

    Wow, you’re just awesome! Thanks! It works like magic. ๐Ÿ™‚

  8. Jackie 6 years ago

    Awesome! Thank you for sharing!

  9. Lisa 6 years ago

    Aw man! Thank you from the bottom of my heart! All this computer jargon makes me nervous that I’m gonna screw my blog up but it worked great! The hardest part was looking for the post-footer line! LOL

  10. Julie Garcia-Matus 6 years ago

    thx so much for sharing! I couldn’t find this any where! Do you have tutorial on a tweet & FB end of post button? =)

    callelillycafe at {including just in case you can help. thank you}

  11. April 6 years ago

    Thanks for this!! I love the color, too … it matches my blog! :o)

  12. cinzia 6 years ago

    thank you so much! it worked like a charm! although i don’t understand how to change the color.

  13. Cocalores 6 years ago

    Thanks for sharing this great tutorial! I’ve linked to it in my post about blog re-redesigning (don’t want to promote myself, but lots of bloggers seem to want to see the post they’ve been linked to, so here’s the link: xo Anja

  14. Amber Carlson 6 years ago

    Just the tutorial I was looking for! Thanks! It also matches my blog!
    Amber @ The Teacher Life

  15. Smotzy 6 years ago

    Thank you so much for this tutorial.

  16. Jenelle 6 years ago

    Thanks! That was super easy!

  17. Missy Hix 6 years ago

    Great tutorial! Thanks a lot!

  18. Catherine Collins 6 years ago

    GREAT help. Thanks so much for this easy way to add Pin it. (Momma’s Fun World)

  19. Samantha Zinn 6 years ago

    Hey thanks for sharing, it worked ๐Ÿ™‚


  20. Bonny Yokeley 6 years ago

    Thank you! I had done this before but completely changed my blog’s template and lost it, so I searched google and pinterest to find instructions that worked since I hadn’t saved my earlier ones. Yours were the only ones that worked!

    Bonny @

  21. lizardcreekquilter 6 years ago

    THANK YOU!!!

  22. Tricia 6 years ago

    Thanks so much for this, I’m going to try it! I’d like to change the color to something that matches my blog…I’m wondering how you did that ๐Ÿ™‚

  23. CRUISEROO 6 years ago

    Awesome. Works like a charm! Thanks so much!

  24. Thank you!! So easy!!

  25. Pretty lady 6 years ago

    Been looking for this code for such a long time!! thank you!!!

  26. Great tip. Just tried it and it worked. It was super easy.
    Thanks so much!

  27. Thank you so much! It was super easy and works perfectly!

  28. Jenneke 6 years ago

    Thanks so much for sharing!! I’m so happy with my button ๐Ÿ˜‰

  29. Irina 6 years ago

    Nothing happens when I click on the pin it button, did i do something wrong?

  30. Ali 6 years ago

    thank you! That was really easy to follow!

  31. Amy Wilcox 6 years ago

    Hi. I could not find class=’post footer’
    even with using ctrl f on my blogger page. Is there another code line to look for?

  32. Maria 6 years ago

    Thanks for the tutorial. I’ve just used it on my blog.

  33. Erin TableforSeven 6 years ago

    I have the same problem as Irina..I click the button and nothing happens. Just a blank screen. Any advice? Thanks!

  34. Kim {Decorocity} 6 years ago

    Thank you so much!!! Very easy to follow!

  35. Tina 5 years ago

    I got the code in but it doesn’t link?

    Any thoughts?

  36. Willow Grand 5 years ago

    thank you so much for sharing this! The first tutorial that was easy and actually made sense ๐Ÿ™‚


  37. Gloria 5 years ago

    Thanks a bunch for this tutorial! I’ve shared it on my blog with a link back here:

  38. LB 5 years ago

    This worked for me, however, when i click on pin it, it brings up all of the pictures on my blog, not just the ones in that post. Is there some way to have it only show the picture in the post I want to pin? It pins my entire blog, not the post. Thank you ๐Ÿ™‚

  39. nicole 5 years ago

    THANK YOU!!!!! I have been trying to add the “pin it” button to my blog for over an hour now, and no other blogger tutorial I found on the web (there were lots!) worked! But yours did! Thank you SOO much!

  40. Kimberly 5 years ago

    Thanks for sharing! You made it so simple to figure it!

  41. Laura 5 years ago

    THANK YOU! THANK YOU! THANK YOU!! I finally did it. Thanks for the easy instruction.

  42. Liberty Bellow 5 years ago

    I don’t see an option to Expand Widget Template, so I guess that’s why I cannot find “div class=’post-footer'”

    Any ideas??

  43. Liberty Bellow 5 years ago

    Ok, I figured out how to manually expand all the widgets (shew), but it didn’t work. Any idea what went wrong? Thank you.

  44. Jennifer 5 years ago

    I can not find an “expand widgets template” button. Any advice?

  45. Natalie Wright 5 years ago

    Hmm, it didn’t work for me. Like others, I didn’t see “Expand Widgets” button, but found the “div class= ‘post-footer’ and copied the code directly after. The Pin It button did not show up anywhere.

Leave a reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.

We use cookies to provide you with a better service. By continuing to browse our site, you consent to our cookie policy.

You have Successfully Subscribed!

Log in with your credentials

Forgot your details?