I recently installed the Google+1 button because everyone else is doing it and if everyone jumped off a bridge, I guess I would too. I noticed someone +1'd one of the posts on my blog(!) but I couldn't tell which one because ALL the posts had a +1 and it seemed odd that someone would +1 each and every one of my posts no matter how good looking I was. This is an error in the standard Google+1 HTML -- it doesn't know which page/post to +1! So if you've tried installing it manually with this code:
Place this tag in your head or just before your close body tagYou'll have to use this instead of the second code:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
Place this tag where you want the +1 button to render
<g:plusone></g:plusone>
<g:plusone expr:href='data:post.url' size='medium'/>The new code will specify that each post will be +1'd instead of the whole blog when you're looking at it from your homepage. You can change the size of your Google+1 button by changing the 'medium' text from the codes here. Options: 'small', 'tall', or delete size='medium' to get the standard button. If you have any questions, let me know in the comments below and I'll try to help the best I can!
thanks so much for this tip! i haven't gotten around to the google plus thing yet, but eventually i will!!
ReplyDeletethe +1 button only shows up in one post :( how do i make it show up in all posts? thanks :) i am using the default share buttons for now.
ReplyDeleteDid you put the code in your HTML template or the post?
ReplyDeleteHTML template.
ReplyDeleteYou'll need to find the footer of the body of the post. Expand widget templates and search for span class='post-icons' and place it a line after that. This position is similar to Blogger's original share icons.
ReplyDeleteThanks! I'll try that next time. I discovered addthis widget and is using it now.
ReplyDelete