HOW TO INSERT SOCIAL BOOKMARKING BUTTONS IN YOUR WORDPRESS SITE WITHOUT PLUGINS
Yes, Plugins are important because of their functionality but if there are alternatives to plugins then why not use them to get your work done. Using Manual code to replace wordpress plugin is a much better way.
In this post I will be highlighting the manual codes that we can use to create share buttons for Retweet, Digg, Buzz, DesignFloat, StumbleUpon, FShare, Delicious, DZone, Reddit, Technoraiti.
How to use
For WordPress Blog Paste the following code in your theme folders single.php file and for your website paste it on proper place where you want to display.Retweet Counter
{code type=codetype}<script type=”text/javascript” src=”http://tweetmeme.com/i/scripts/button.js”></script>
{/code}
Source
The Digg Button
{code type=codetype}<a> (‘<img src=”http://digg.com/img/diggThis.png” height=”80″ width=”52″ alt=”DiggThis” />’)</a><script src=”http://digg.com/tools/diggthis.js” type=”text/javascript”></script>
{/code}
Source
StumbleUpon
{code type=codetype}<a href=”http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>”><img src=”http://cdn.stumble-upon.com/images/32x32_su_solid.gif” alt=”StumbleUpon.com”/></a>
{/code}
Source
Delicious
{code type=codetype}<img src=”http://static.delicious.com/img/delicious.small.gif” height=”10″ width=”10″ alt=”Delicious” /><a href=”http://delicious.com/save” onclick=”window.open(‘http://delicious.com/save?v=5&noui&jump=close&url=’+encodeURIComponent(‘<?php the_permalink() ?>’)+’&title=’+encodeURIComponent(‘<?php the_title() ?>’),’delicious’, ‘toolbar=no,width=550,height=550′); return false;”>Bookmark this on Delicious</a>
{/code}
Source
DZone
{code type=codetype}<script language=”javascript” src=”http://widgets.dzone.com/links/widgets/zoneit.js”></script>
{/code}
Source
DesignFloat
{code type=codetype}<script type=”text/javascript”>submit_url = ‘<?php the_permalink() ?>’;</script><script type=”text/javascript” src=”http://www.designfloat.com/evb2/button.php”></script>
{/code}
Source
fShare
{code type=codetype}<a name=”fb_share” type=”box_count” href=”http://www.facebook.com/sharer.php”>Share</a><script src=”http://static.ak.fbcdn.net/connect.php/js/FB.Share” type=”text/javascript”></script>
{/code}
Source
Mixx
{code type=codetype}<a href=”http://www.mixx.com/” onclick=”window.location=’http://www.mixx.com/submit?page_url=’+window.location; return false;”><img src=”http://www.mixx.com/images/buttons/mixx-button4.png” alt=”Add to Mixx!” border=”0″ /></a>
{/code}
Source
<a href=”http://www.reddit.com/submit” onclick=”window.location = ‘http://www.reddit.com/submit?url=’ +encodeURIComponent(window.location); return false”> <img src=”http://www.reddit.com/static/spreddit1.gif” alt=”submit to reddit” border=”0″ /> </a>
{/code}
Source
Technorati
{code type=codetype}<a href=”http://technorati.com/faves?sub=addfavbtn&add=http://myphpscriptz.com”><img src=”http://static.technorati.com/pix/fave/tech-fav-1.png” alt=”Add to Technorati Favorites” /></a>
{/code}
change ?myphpscriptz.com? with the actual name of your blog.
Source\
Buzz
{code type=codetype}<script type=”text/javascript” src=”http://d.yimg.com/ds/badge2.in.js” badgetype=”logo”>ARTICLEURL</script>
{/code}
Source
Blog Engage
{code type=codetype}<script type=”text/javascript”>submit_url = “<?php the_permalink(); ?>”;</script><script src=”http://blogengage.com/evb/button.php”> </script>
{/code}
0 comments:
Post a Comment
Drop Your Comments/Suggestions Below