Okay, so some of you may have noticed I have added the Google +1 button to my blog posts, and here’s how to do it:
Please note, this does NOT affect wordpress auto-updater as you do not edit any wordpress files.
Also, you need to allow wordpress admin to edit theme files – If you do not know how to do this, ask your server administrator/hosting company.
Then we need to find “Header” or “header.php” on the right hand side of the page.
Enter this row down, and insert the following above:
It should look something like this…
Now all you need to do is edit the Index, Archive and Single Post pages to have the following line of code wherever you want to show the +1 button:
<g:plusone size=”small” href=”<?php the_permalink(); ?>”></g:plusone>
If you have any questions, please ask in the comments below.