Add Reddit Button to Blogger


In this post, i will explain the way to add Reddit button to every post in Blogger. Reddit is a popular social bookmarking site and adding a Reddit button to your blog can give your blog readers, a chance to bookmark the interesting posts of your blog.


Reddit provides 3 kinds of buttons to choose from. You can see these 3 different button styles in the image below. The state of the buttons will change once someone submits the blog post to Reddit. I will show the changed button states later in this post.


Reddit button

You can choose the button style, which suits to your blog layout. I have provided here the customized scripts for Blogger blogs. You can select either of the script and can add it into your blog. In case, you don't know where to put this code in your Blogger template, you can follow the post Tips To Add Digg This Button To Every Post in Blogger


Style 1:
<script>reddit_url='<data:post.url/>'</script><br /><script>reddit_title='<data:post.title/>'</script><br /><script language="javascript" src="http://reddit.com/button.js?t=1"></script>


Style 2:
<script>reddit_url='<data:post.url/>'</script><br /><script>reddit_title='<data:post.title/>'</script><br /><script language="javascript" src="http://reddit.com/button.js?t=2"></script>


Style 3:
<script>reddit_url='<data:post.url/>'</script><br /><script>reddit_title='<data:post.title/>'</script><br /><script language="javascript" src="http://reddit.com/button.js?t=3"></script>


These scripts are customized for Blogger. If you are using any other blog platform, you just need to provide URL of the post to reddit_urland title of the post to reddit_title in the above script.


When any visitor of your blog will submit your blog post to Reddit, the button state will change. You can see the changes in the image below.


 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes