Pluggit Buttons

May 18, 2009 in Uncategorized by Eddie Gordo

I have had a couple of people ask me how to get pluggit.org voting buttons on their own sites, so rather than letting people know by e-mail conversations I figured I would repost it all here.

Standard Single Button Code

Use this code when you only need one button on the webpage.  It will submit the currenty URL.

<script type="text/javascript" src="http://pluggit.org/evb/button.php"></script>

Standard Multi Button Code

Use this code when you want to have more than one button on a page, such as a blog or a news site where you have many articles on one page.

<script type="text/javascript">submit_url = 'http://yourarticleurl.com';</script>
<script type="text/javascript" src="http://pluggit.org/evb/button.php"></script>

Multi Button Code for wordpress

Insert this code into the index.php and page.php files of your installed themes.

<script type="text/javascript">submit_url = '<?php the_permalink() ?>';</script>
<script type="text/javascript" src="http://pluggit.org/evb/button.php"></script>

How to add button on joomla

Use this plugin:

http://www.banitech.com/extensions/components/28-bookmark-system-manager

With the following code

<script type="text/javascript">submit_url = '[url]';</script>
<script type="text/javascript" src="http://pluggit.org/evb/button.php"></script>