add_to_head("<script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script>");
openside("Google +1");
echo "<div class='g-plusone'></div>";
closeside();
openside("Google +1");
echo "<center>\n<g:plusone size='medium'></g:plusone>\n</center>\n";
closeside();
add_to_footer("<script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script>");
Quote
Philip wrote:
Or...Code Download sourceopenside("Google +1");
echo "<center>\n<g:plusone size='medium'></g:plusone>\n</center>\n";
closeside();
add_to_footer("<script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script>");
Sizes: "small", "medium" or "standard"
If you just want the button on its own don't use openside/closeside
<head>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
{"parsetags": "explicit"}
</script>
<script type="text/javascript">
gapi.plusone.render("plusone-div", {"size": "tall", "count": "true"});
</script>
</head>
<body>
<div id="plusone-div"></div>
</body>
Quote
MarcusG wrote:
@Wanabo: This only works for the whole thread, right?
If you click +1 on one post and reload the page, all posts are set to +1.
Quote
MarcusG wrote:
@Wanabo: This only works for the whole thread, right?
If you click +1 on one post and reload the page, all posts are set to +1.
Quote
wanabo wrote:
It is possible to use a href function within the +1. I'll experiment with the post number url. That way it will +1 a specific post.
Category Forum
Modifications and Requests - 8Labels
None yet
Statistics
7 participants
Notifications
You are not receiving notifications from this thread.
Related Questions