Skip to content

Instantly share code, notes, and snippets.

@NamPNQ
Created January 20, 2014 14:33
Show Gist options
  • Save NamPNQ/8520872 to your computer and use it in GitHub Desktop.
Save NamPNQ/8520872 to your computer and use it in GitHub Desktop.
Add google comment plugin to your website
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<div id="gplus-cm"></div>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('#gplus-cm').html('<div class="g-comments" data-width="543" data-href="http://nampnq.vietnamcode.info" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</div>');
});
</script>
<script async type="text/javascript" src="http://apis.google.com/js/plusone.js?callback=gpcb"></script>
@nathakorn2524
Copy link

go

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