Page 1 of 1

[Solved] How to render google +1 (plusone) button ?

Posted: Sun Jul 24, 2011 9:27 pm
by Erhaoen
I can't find a way to add +1 button to my content, I wonder if anyone had any success with this already?
It suppose to be simple:

Add link to .js in header or before closing body tag
<__script__ type="text/javascript" src="https://apis.google.com/js/plusone.js"></__script>

Add plusone google tag anywhere in your content:
<g:plusone></g:plusone>

I tried to wrap it in {literal} tags but it vanished anyway. Any ideas how to make it stay? :) Many thanks in advance.

Re: How to render google +1 (plusone) button ?

Posted: Sun Jul 24, 2011 10:03 pm
by M@rtijn
No, just put in there like it is. Works for me

Wrap it in a div to position it right.

[Solved] Re: How to render google +1 (plusone) button ?

Posted: Sun Jul 24, 2011 11:13 pm
by Erhaoen
It works indeed. I had wysiwyg turned on and tried to add +1 tag using HTML source view - but it kept disappearing. Turning wysiwyg off is a way to go, thanks!