Showing posts with label pin it button. Show all posts
Showing posts with label pin it button. Show all posts

May 22, 2012

Add Pinterest "Pin It" button over your images

Add Pinterest pin it hover button over your images

For Wordpress.org and Blogger!

Wordpress


For self-hosted Wordpress blogs I use the Pinterest Pin It Button for Images. And, for Blogger I insert some code into the template.

For Wordpress you just need to Install, Activate and customize the plugin... it couldn't be easier. I have found one conflict with Networked Blogs, so if you're having problems with this plugin consider removing NB from your blog.

Blogger


For Blogger I use code I found over at bloggersentral.com. You are going to be adding two bits of code to your template:

1. Add JavaScript after <head> - This only needs to be added ONCE, so if you already have it in your blog (like in your Pinterest sidebar widget) you don't have to add it again.

<script language='javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js' type='text/javascript'/>

2. Then add this code above </body>

<script>
//<![CDATA[
var bs_pinButtonURL = "http://i743.photobucket.com/albums/xx78/sweetfaerie/pin-it-button.png";
var bs_pinButtonPos = "topright";
var bs_pinPrefix = "";
var bs_pinSuffix = "";
//]]>
</script>
<script id='bs_pinOnHover' src='http://greenlava-code.googlecode.com/svn/trunk/publicscripts/bs_pinOnHoverv1_min.js' type='text/javascript'>
// This Pinterest Hover Button is brought to you by bloggersentral.com.
// Visit http://www.bloggersentral.com/2012/11/pinterest-pin-it-button-on-image-hover.html for details.
// Feel free to use and share, but please keep this notice intact.
</script>


You may replace the bs_pinButtonURL with your own pin it button image.

3. Save!