Add the plus one button to WordPress sites

0 replies
The plus one button has finally arrived!

There is no WordPress plugin for it yet, but you can still add it to your blog and be one of the first to have it. And being first is always good, that's for sure.

Add this to header section:

Code:
<script type="text/javascript" src="http ://apis.google.com/js/plusone.js"></script> (Remove space after http
Add this to every place in the template files where you want the button:

Code:
<g:plusone href="<?php the_permalink(); ?>"></g:plusone>
Remember to put it inside the loop. I suggest to put it above
Code:
<?php the_content(); ?>
In index.php, single.php, page.php, archive.php and category.php.

Read more how to do on my blog. (Link in signature, too low post count)

Or then you just wait until there comes a plugin. I guess it takes until next week..
#add #button #plus one #sites #wordpress

Trending Topics