Chykalophia | Graphic & Web Designer Menu Mobile
  • services
    • Expertise
    • Process
  • Portfolio
    • Finest Work
    • Gratis – Our Handout
  • journal
  • about
    • Chykalophia & Team
    • Creative Visualist
    • Idea Conceptor
  • contact

Latest Play

  • Rickshaw Republic Menu
  • #spring #bubbles http://t.co/31fg0aEfaZ ReTweet Reply Favorite
    (about 20 hours ago)
Follow @Chykalophia
  • Grant Study Reveals What Makes Us Happy - Business Insider http://t.co/gmTzJgiHp0 ReTweet Reply Favorite
    (about 14 hours ago)
Follow @PiotrKrzyzek
  • Why Is Facebook Blue? The Science Behind Colors In Marketing | Fast Company|Business + Innovation... http://t.co/3TZwYew5jn ReTweet Reply Favorite
    (about 1 minutes ago)
follow CKLPHgroup on twitter

Add Pinterest Pin It Button To Blogger Post

54
22 Nov
2011
pin-blogger

by Ari Krzyzek

Blog

Resources

tutorial

web design

Be social - share & spread the word

Tweet
Last time I wrote about how to add Pinterest Pin It button I designed to WordPress Page and Post, today since I realize that other Pinterest addicts who happen to love blogging as well are using Blogger instead of WordPress. So cheer up Bloggers, here’s the simple way to add the Pin It button to your Blogger Posts.

The Steps:

Important: Always backup your template before you do anything described in this post! I will NOT responsible for any damage or template error on your blogger template. 

  • Go To Blogger > Design > Edit HTML
  • Click Expand widgets templates box
  • Search for <data:post.body/>
  • If you want to add the button just below your post titles then add the cheat code below just above <data:post.body/>
  • If you want the button appear at the end of your posts then paste the following cheat code just below <data:post.body/>
JavaScript
1
<a href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());"><img style="margin: 0 0 -5px 0;" onclick="doPinIt();" src="http://chykalophia.com/images/pinit-compact.png" alt="Pin It" /></a>
  • Hit save and that’s it!

More info about the Pin In Button I designed and some related info about the button.

Note: The above code is currently using my PinIt-Compact button, if you wish to replace the button with your own button or Pinterest PinIt button replace the source image “http://chykalophia.com/images/pinit-compact.png” to your button source image/location.


Facebook Comments

awesome comments

Powered by Facebook Comments

54
  1. claire - Reply

    December 1, 2011 at 7:28 pm

    Thank you so much for this tutorial. No one was able to pin from my blogger site for some reason and no one at blogger or pinterest would help. This now allows people to pin my images! Thank you Thank you.

    • Ari Krzyzek - Reply

      December 6, 2011 at 5:56 pm

      :D always a pleasure Claire

  2. Tammy @ LoveMy2Dogs - Reply

    December 6, 2011 at 4:53 pm

    I tried this and it wanted to pin everything on my blog page. Opps, I must have done something wrong. :(

    • Ari Krzyzek - Reply

      December 6, 2011 at 5:56 pm

      Tammy,

      This code is meant to let you or your website visitor to pin any images on your website page/post. Is this something you actually looking for? I’m not so sure if I understand what you are referring, show me a screenshot and I’ll see if I can help more :)

  3. Jen - Reply

    December 16, 2011 at 10:39 am

    Thanks for this easy solution. I tried a bunch of other sites, but you made it very clear on where to put it and it works great. Thanks!

  4. The Old Lucketts STore - Reply

    December 16, 2011 at 8:49 pm

    Worked like a charm the first time. Thanks so much for sharing!

  5. Ruby - Reply

    December 17, 2011 at 2:53 pm

    I couldn’t remember how to do this, thank you!!!

    Girlfriends Are Like Shoes

  6. Mary - Reply

    December 27, 2011 at 12:18 pm

    Thank you so much for this. I actually think I got it right. That says much more about the excellence of your code than my computer skills. I hope you have a great day. Blessings…Mary

  7. Sarah Jane - Reply

    December 31, 2011 at 6:56 am

    Thank you very much, it worked like a dream!

  8. Ruby - Reply

    January 1, 2012 at 3:20 am

    best instructions I have found, thank you! I have linked to this post for others.

  9. Agy - Reply

    January 1, 2012 at 3:23 am

    Clear & simple! :-) Thank you!!

  10. Emmy - Reply

    January 1, 2012 at 10:10 pm

    Yea!! Awesome!! Totally worked and so easy, thank you!!

  11. Emmy - Reply

    January 1, 2012 at 10:12 pm

    Actually- just tried it and when I click it it says “Can’t see any images on this page”… any ideas? But thanks again for the great tutorial.

    • Ari Krzyzek - Reply

      January 3, 2012 at 9:33 pm

      That is most likely because they don’t provide the image link, like facebook sometimes doesn’t allow the user to grab images.

  12. Emmy - Reply

    January 1, 2012 at 10:14 pm

    Could it be because I have it so if someone clicks on a link in my blog it opens a new window?? Sorry- not trying to spam you with questions

    • Ari Krzyzek - Reply

      January 3, 2012 at 10:03 am

      Hi Emmy,

      Currently you can make the button to open the new window, but once we have the update we will definitely update the code :)

  13. Rachael - Reply

    January 2, 2012 at 10:14 am

    THANK YOU THANK YOU! It worked perfectly! I do have one question….if I have my blog set up for mobile users, will this code also work in the mobile app coding?

  14. Carrie - Reply

    January 2, 2012 at 6:31 pm

    For the life of me I can not find anywhere in my HTML….It is begginning to drive me insane, I’ve been at this for the better part of the day…..I must be doing something wrong…..I wish I could copy and paste my whole HTML page and show it to you…..ugh!

  15. Jamie - Reply

    January 3, 2012 at 4:53 pm

    Thanks so much! I was pulling my hair out with the other explanations I’d found online!

  16. Laura @ ON{thelaundry}LINE - Reply

    January 5, 2012 at 8:44 pm

    I think what a previous commenter might have meant is that the button pins the whole blog rather than the specific post the button is located on. I guess it would probably be really complicated to get it to do otherwise, hey?

    • Ari Krzyzek - Reply

      January 27, 2012 at 6:15 pm

      well, the code was meant to pin any images within a webpage, if the case is to pin 1 specific image, then pin it button provided on Pinterest Help page is the ideal one.

  17. Chrissy - Reply

    January 6, 2012 at 8:21 am

    Thanks for the directions – I added my zippy little button above and below!! Many Thanks

    Chrissy

  18. The Scrapbooking Housewife - Reply

    January 7, 2012 at 2:56 pm

    Thank you so much for the awesome tutorial!! Had to add it to the top of the post though as when I added the button to the bottom it cut off part of my post template I have set up to show after every post. Any way I can fix that? Thanks again!!

    • Ari Krzyzek - Reply

      January 27, 2012 at 6:17 pm

      for that though, you might need to play with your css code

  19. Richard - Reply

    January 9, 2012 at 9:53 am

    IT WORKED!!!! I was so scared to go messing about with HTML, but I am so glad I did!

  20. Teale - Reply

    January 12, 2012 at 10:31 pm

    Works great! Thanks so much!

  21. nuvonova - Reply

    January 15, 2012 at 5:31 am

    Thanks for this, best way I have found so far.

    However, is there a way so that once an image is pinned on Pinterest, and someone clicks on it, they are directed to the actual blog post where the image comes from, rather than just the blog?

    Thanks!

    • Ari Krzyzek - Reply

      January 27, 2012 at 6:21 pm

      the basic use of pinterest button was simple: it grabs a certain image you want to pin from the website link you pin it from, so if you pin them from a blog page instead of a specific blog post page, then it will link back to the same link where you pin them. Therefore, the current solution is to make sure pinning your image from the actual post, not the blog page.

  22. Jennifer - Reply

    January 17, 2012 at 8:39 am

    Do you know why it adds a black border around the pictures when you pin them?

    • Ari Krzyzek - Reply

      January 27, 2012 at 6:24 pm

      I checked your blog post and the pin it button works just fine, I don’t see the black border you mentioned Jennifer :)

  23. Susan Jordan - Reply

    January 17, 2012 at 1:57 pm

    Fantastic, simple to use tutorial. Worked like a dream. Thanks so much :)

  24. Pingback: Pinterest blogs 10 ways to get referral traffic

  25. Cindy @ Creating at Home - Reply

    January 17, 2012 at 11:54 pm

    Thank you for this button! It’s great. Just wondering, is there a way to get it to appear on the RIGHT? I have my Tweet button on the right and would like the Pin It button to appear just below it. Thanks.

    • Ari Krzyzek - Reply

      January 19, 2012 at 3:55 pm

      @cindy: you will have to play with the css/the styling code for that

  26. Suzy @ Worthing Court - Reply

    January 18, 2012 at 7:25 am

    This is so awesome! I’ve looked everywhere for how to have the pin it button automatically added to each post. Your explanation was very easy to follow and the code works just perfectly. Thank you!

  27. Judy - Reply

    January 20, 2012 at 1:31 pm

    Thanks so much! I’ve added the button to my blog and it looks great.

    I did notice, as Tammy mentioned above, that if you are on your home page and click the button it will draw images from every post visible on your home page so it looks like you will have to click through to the post to pin a specific post’s image, but I’m hoping this will make it easier for others viewing my site to pin images they like :)

  28. Mireille - Reply

    January 21, 2012 at 6:28 am

    Thank you so much for us bloggers to add the easy tutorial!! I worked at my blog and I already pinned some of my pics. SUPER!!

  29. Tiffiny Felix - Reply

    January 21, 2012 at 2:52 pm

    Hum…Maybe I didn’t do it right. When I’m in Pinterest and click on the image for the pin, it goes to my home page, not the specific post. Is that what was intended? Thanks again for your help :)

  30. Katya Small - Reply

    January 21, 2012 at 8:48 pm

    Thank you so much! It worked first try, I had been working on this for hours, much appreciated!!

  31. Scharlyn - Reply

    January 23, 2012 at 10:51 pm

    Thank you, you made it so easy, I never thought I would be messing with HTML!

  32. michelle - Reply

    January 24, 2012 at 12:00 pm

    Thank you so much! That was very easy :)

  33. Louisa - Reply

    January 25, 2012 at 1:30 am

    Thanks fo the quick and easy tutorial!

  34. Stacy - Reply

    January 28, 2012 at 1:03 pm

    Thank you, thank you, thank you! So simple and easy! Works like a charm!

    Stacy

  35. Thorunn Lunde - Reply

    January 29, 2012 at 7:31 am

    Thank you so much – this was quick and easy!

  36. Tamuna - Reply

    January 29, 2012 at 8:59 am

    Your instructions were so clear and easy that it took me only a second to make the changes to my blog template. Thank you!

  37. Kay - Reply

    January 31, 2012 at 1:20 pm

    Thank you soooooo much for your clear instructions! I’ve been going crazy trying to find information adding a button!

  38. KarenD - Reply

    February 4, 2012 at 4:38 pm

    Thanks for this! It worked like a charm.

  39. denise - Reply

    February 7, 2012 at 2:06 pm

    I input the code above and below the and it doesn’t show on my page. any ideas? thanks so much!

    • Ari Krzyzek - Reply

      February 9, 2012 at 1:03 pm

      Hi Denise, I just checked your page. It seems like the button works fine now :)

  40. Brownie - Reply

    March 23, 2012 at 8:22 pm

    THANKS :) This was most useful!!

  41. Pingback: Adding Pinterest Pin and Follow Buttons on Your Site | SHERRY SNIDER Technical Writer

  42. Happy Expressions - Carol - Reply

    May 10, 2012 at 4:37 pm

    Thank you for the info. I am just getting started with pinrest so i really needed the help. i am pinning everything on my blog now it is that easy. Thanks again.

  43. Mandy Williams - Reply

    January 10, 2013 at 8:04 pm

    Thank you so so so much! This was the best tutorial I could find on this and easy enough for me to do . I really appreciate it!

  44. Francesca - Reply

    February 24, 2013 at 6:55 pm

    Thankyou so much. I could not get this to work until I tried your code.

Leave a Comment - Cancel reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

ask for quote

Custom designs are our best specialty here at Chykalophia Design.

Let\'s start your project

read on client reviews

We take pride on what we do. Read on some of the blushing words they write about us.

Hear what they say

direct delivery reads & updates

We don't abuse your email, but we do send out useful reads and updates about design


This site is part of Chykalophia Group LLC | Glenview, IL - US

Shop designs at Chykalophia Store

Established 2009. Chykalophia Design & its content
© All Rights Reserved - 2013

Tweet
Pin It