Adding The Google +1 Button To Your WordPress Website
If you’ve been following the activities of Google in recent months (or you’re an SEO engineer), you’ll have undoubtedly come across the +1 concept recently introduced by the search giant.
Initially an experiment in utilising user-based recommendations to inform search results, Google has rolled out the +1 button more comprehensively by allowing the integration of a +1 button into your blogs and websites.
There will undoubtedly be numerous WordPress plugins in the coming months featuring simple +1 button integration, but in the meantime here’s a simple guide to adding the Google +1 button to your WordPress-based blogs and websites yourself in two simple steps:
1. Editing your WordPress theme files
On the next screen, locate and select ‘Footer.php’, which should reveal the coding for your website’s footer. You’ll need to locate the closing body tag, which will look like this: </body>
To help you out, here’s a screenshot of what you’ll need to do:
Once you’ve placed the code in the right place, simply hit ‘update’ and you’re ready to move on to the next step.
2. Adding the +1 button to your website
This can be added to individual posts and pages easily, by simply adding the shortcode into the body of the post or page. However, you might find it a better option to add the button into the sidebar of your blog, post, page, etc. To do this, simply navigate to Appearances > Widgets in your WordPress dashboard.
From here, you can simply select a widget market ‘Text’, drag it into the appropriate sidebar section and add the +1 shortcode. This will give you a permanent +1 button in the corresponding sidebar, allowing users to recommend your site via the new Google button.
If you have any questions at all on installing the +1 button on your own WordPress website, simply leave us a comment with the issues you’re having and we’ll do our best to help.