PDA

View Full Version : Google Plus One script has quit working, now returns red flag



slobjones
09-03-2011, 09:20 PM
Here's the Google Plus One script I've been using on my wordpress blog:


<g:plusone a href="<?php echo urlencode(get_permalink($post->ID)); ?>"></g:plusone>

Worked fine for site visitors until it didn't. Now it's returning a red Plus One warning button with a bunch of suggestions to correct the error, none of which apply.

Does anyone have a Plus One script that will work consistently with wordpress? I don't want to use a plugin.

Thanks.

JCOnline
09-17-2011, 10:13 PM
Try putting the javascript before the body tag.

deepsand
09-18-2011, 01:04 AM
Try putting the javascript before the body tag.
Assuming that that is not now the case, how to explain that it was working in its current location?