Jump to content

Download: Google +1 Button


Lewis P

Recommended Posts

Posted

I didn't like how the small button looked.

I was going to expand the hook to give users a choice, but since it's going to be in Beta 2, I'm not going to worry now.

Posted

I'd consider using it if it was smaller and matching a similar size to the other buttons. I'm sure it works perfectly, though.

Posted

it works fine, but i had to edit the file to take out the "class='right'" so it would line up evenly with the other social icons and i changed the padding to 10px all around and use the small size plus icon to make it look like its been there all along.

Posted

it works fine, but i had to edit the file to take out the "class='right'" so it would line up evenly with the other social icons and i changed the padding to 10px all around and use the small size plus icon to make it look like its been there all along.



Where did you find the class to modify?
Posted

Ok, changed the html part into the hook GooglePlosone.xml as follows:


/* New HTML */

  $newHTML = "<div class='left' style='padding: 5px; margin-top: 4px;'>

	&#60;script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script>

	<g:plusone size='small' href='{$shareURL}'></g:plusone>

   </div>";

Posted

Doesn't work on 3.1.4 for me .... gives a red exclamation mark.



- Yes i know that this is for 3.2



Should work. It might not look pretty, but it does work.
  • 5 weeks later...
Posted

I made this hook about 3 hours before Matt said it would be included. :wink:



You should make it so that it shows up in the primary nav next to the quick nav.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...