Hey guys, it's been a long time since I ever posted a blogger tip. You've probably noticed
a pin it button (bottom right side of each image) that appears when you hover on any image
within my posts. It's a very helpful widget, cause it's easier for your readers to pin the image
they want without having to scroll down. Today, I'm gonna share with you how I added that
button with the help of those great guys. It's an easy-peasy tutorial. So here we go:
Step 1:
Blogger: Go to Template > Edit HTML > Expand HTML
Wordpress: Go to Administration > Appearance > Editor > footer.php.
Step 2:
Locate the
</body> tag near the bottom of the template
Step 3:
Copy the code you see here-below and paste it right above the </body> tag.
01 | <script> |
02 | //<![CDATA[ |
03 | var bs_pinButtonURL = "http://3.bp.blogspot.com/-y3xzTGiGzH0/UK4XOaUpdaI/AAAAAAAADw8/Z1MH4Jr4Efo/s1600/pinterestx1_72.png"; |
04 | var bs_pinButtonPos = "center"; |
05 | //]]> |
06 | </script> |
07 | <scriptsrc='http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.jstype='text/javascript'></script> |
08 | <script src='http://greenlava-code.googlecode.com/svn/trunk/publicscripts/bs_pinOnHoverv1_min.jstype='text/javascript'></script> |
09 | <!-- please do not alter or remove the following code --> |
10 | <div id='bs_pinOnHover'><ahref="http://www.bloggersentral.com/2012/11/pinterest-pin-it-button-on-image-hover.html">Pin It button on image hover</a></div> |
Tips:
- You can choose any button icon you prefer. Find free pin it icons: here here here- To use your own button, replace the URL in line 3 with the link URL of the image you've chosen. Make sure to keep the quotes.
- To re-position the button, replace
center in line 3 with the new position as written below:- topleft
toprightbottomleftbottomright
placed it to be. Hit "Save" button and you're all set!
Enjoy endless pinning!


















Thanks for the tip and the links to the buttons. I'm gonna give this a try later and cross my fingers that I don't mess it up. Liz
ReplyDeleteEverything will be ok! Just to make sure, preview it first and if all ok then hit save!
DeleteI did what you said to do and totally messed up my script?? Help me! Can I send it to you and maybe you could fix it?? I get an error message..
ReplyDeleteYour template could not be parsed as it is not well-formed.
I knew I should not have tried this...lol
Sandy
Sandy I'm so glad you fixed the problem. Probably you had forgotten to hit the "expand widget" button!
DeleteThank you for this tutorial! I was wondering yesterday how to do this.
ReplyDeleteNow you know! :)
DeleteAwesome! Thanks for sharing! Tracy @ the2010shousewife.com & https://www.mythirtyone.com/292516/
ReplyDeleteI'm in need of this! Thank you so much for the info. Have a wonderful day!
ReplyDeleteI'm alreay using pinit button below each post:)
ReplyDeleteThis is a button for each image of a blog post!
DeleteI found you from Sugar Bee Crafts! I'm your newest follower via GFC. I host Fluster Creative Muster Party on Wednesdays and I would love it if you would come by and party with us. Hope to see you there!
ReplyDeleteHugs, Smiles, and Blessings,
Robin
Fluster Buster
You rock! Many thanks...it works!
ReplyDeleteStopping over from Making Memories. I enjoyed your blog and will subscribe for sure
I blog over at http://thehandleyhome.blogspot.com ...stop by if you have a chance!
Great tip.
ReplyDeleteThanks I so needed this. Only today I was looking up how to do it. Thanks!
ReplyDeleteThanks for the helpful post! I just pinned it :) Thanks for linking up to check me out saturday on a vision to remember
ReplyDeletehttp://iamonly1woman.blogspot.com
Thank you for the detailed tutorial. I really enjoyed making them.
ReplyDeletecouldn't get it to work, kept getting error message. are you supposed to copy each line of code separately? I did it both ways, including just how it is with the numbers before each line and then separately without the numbers because you can't copy the whole thing without including the numbers. Sorry to be so dense lol!
ReplyDeleteFurther to our email exchanges, I visited your blog and I'm glad that now it's working properly!
DeleteThanks for sharing at Fluster's Creative Muster. I'm looking forward to seeing what you link up next week.
ReplyDeleteΌλγα μου,στον ουρανό σε γύρευα στην γη σε βρίσκω...Θέλω την βοήθειά σου!!!!!Δεν βλέπω κάπου το μειλ σου...γράψε μου εσύ να μιλήσουμε!!lgas@otenet.gr
ReplyDeleteDid you notice that the "pin it" button comes up on top the social share buttons below the post?
ReplyDelete