Hello,
I have attempted several times to put the new Google +1 Button on my site but I am unable to get the button to be viewable. My problem I think is that I am not 100% understanding the 2 following instructions on how to put the button on your site:
The HTML code below will add a basic Google+1 button to your website. Add the <script> tags inside the <head></head> section of your site and add <g:plusone></g:plusone> wherever you want the +1 button to appear on your website.
<html>
<head>
<title>+1 demo: Basic page</title>
<link rel=”canonical” href=”http://www.example.com” />
<script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”>
</script>
</head>
<body>
<g:plusone></g:plusone>
</body>
</html>
OR
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></g:plusone>
<!-- Place this tag after the last plusone tag -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
If someone could help me figure out where to put these codes and which part should go where I would very much appreciate it.
I have attempted several times to put the new Google +1 Button on my site but I am unable to get the button to be viewable. My problem I think is that I am not 100% understanding the 2 following instructions on how to put the button on your site:
The HTML code below will add a basic Google+1 button to your website. Add the <script> tags inside the <head></head> section of your site and add <g:plusone></g:plusone> wherever you want the +1 button to appear on your website.
<html>
<head>
<title>+1 demo: Basic page</title>
<link rel=”canonical” href=”http://www.example.com” />
<script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”>
</script>
</head>
<body>
<g:plusone></g:plusone>
</body>
</html>
OR
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></g:plusone>
<!-- Place this tag after the last plusone tag -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
If someone could help me figure out where to put these codes and which part should go where I would very much appreciate it.
Comment