Skip to content

Instantly share code, notes, and snippets.

@Mrshcom
Created October 9, 2012 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mrshcom/3861212 to your computer and use it in GitHub Desktop.
Save Mrshcom/3861212 to your computer and use it in GitHub Desktop.
Add G+ button

For using g+ badges to your website you have to follow these:

at fist you must add this script to your page:

<script src="https://apis.google.com/js/plusone.js"></script>

for adding +1 button add below code: (note:don't forget change the href attribute to your own address)

<g:plusone href="http://Mampel.ir"></g:plusone>

for adding g+ sharing button add below code: (note:don't forget change the href attribute to your own address)

<g:plus action='share' href='http://Mampel.ir'> </g:plus>

for learn more follow these websites:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment