Tagged: Google+ Link
Under the article its the line “COMMENTS/0 LIKES/0 TWEETS/POSTED IN …”
What should i do, if i would add a link for Goole+ in this line?
You’ll need to insert the code in each of the format templates. They are located in includes and named format-gallery,image,link,quote,standard and video. Open one up and add the following after the Twitter link (around line 88):
echo '<span class="tweets-count minor-meta">';
echo **the google +1 code
echo '</span><span class="text-sep gplus-count-sep">/</span>';
Then add the following to your custom.css:
You’ll need to customize the code for how you want the google + button to appear. I’m not very familiar with it off hand but the documentation is located here: https://developers.google.com/+/plugins/+1button/
You’ll also need to load the google+ js file into the site. You can add it in just above the ending body tag in the footer.php:
I’ve not tested this and looking at the steps I see a few spots you could definitely have some issues with. I’ll try and write up a longer tutorial on the steps this week if I am able. If you have trouble, just let us know and we’ll do our best to help :)
thanks for the answer, i will change the code today and will test it.
The topic ‘G+ Share Link’ is closed to new replies.