Skip to main content

Add Google+ Comments to ANY WordPress, Tumblr Blog

Add Google+ Comments to ANY WordPress, Tumblr Blog

April 21, 2013 at 11:24PM

Google recently unveiled Google+ comments for its very own amazing blogging platform: Blogger. Google+ comments are very clean, and have top notch appeal to it. But why should only Blogger users have all the fun?

We like the Google+ comments on Blogger.com and is now possible to integrate Google+ comments on any wordpress blog. So just like Disqus, Facebook comments, it integrates well to just about any webpage, not just blogs. However, there is one simple caveat. Since its not officially supported, there is no way to import existing comments from other commenting systems like facebook, disqus, wordpress. But if you’re here to try the new, and integrate comments on Google+ and your blog, this is the best thing to do.

How to Add Google+ Comments to ANY WordPress, Typepad, Tumblr Blog

Simply add the following code to your blog template/theme at location where you wish to add Google+ comments.

<script src="https://apis.google.com/js/plusone.js">
</script>
<g:comments
href="[URL]"
width="640"
first_party_property="BLOGGER"
view_type="FILTERED_POSTMOD">
</g:comments>

Replace [URL] with your page URL. If you’re using wordpress, you can use “< ?php echo the_permalink() ?>” instead of hardcoding url. This will automatically fill URL for every blog post.

Option 1: For displaying comments count use <g:commentcount instead of <g:comments

Google+ Comments load Aysnc

If you want comments to load asynchronously (dynamically). Use this code instead:

<div id="comments"> </div>
<script>
gapi.comments.render('comments', {
href: window.location,
width: '624',
first_party_property: 'BLOGGER',
view_type: 'FILTERED_POSTMOD'
});
</script>

Option 1: For displaying comments count use gapi.commentcount.render instead of gapi.comments.render.

In case you enter the URL of a different page, Google shows some Google+ posts that link to that page and all the comments for that page.

Google+ Comments WordPress Plugin

If you’re not feeling brave enough to edit template and php files manually, you can enable Google+ comments using an unofficial plugin from here.

We write latest and greatest in Tech GuidesAppleiPhoneTabletsAndroid,  Open Source, Latest in Tech, subscribe to us @geeknizer OR on Facebook FanpageGoogle+.

The post Add Google+ Comments to ANY WordPress, Tumblr Blog appeared first on Geeknizer.



from Geeknizer http://geeknizer.com/add-google-comments-to-any-blog/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+taranfx+%28Geeknizer+%28formerly+Taranfx%29%29

Comments

Popular posts from this blog

Ten Apps you Must Download when you Buy A New Android Smartphone

Ten Apps you Must Download when you Buy A New Android Smartphone

May 14, 2013 at 11:21PM You have spent loads of time researching which is the best Android smartphone that fits your budget, spoken to people in the know about gadgets and have saved accordingly. After contemplating a fair bit if this is the right time to pick a device and there is no other device you would rather have, you take a plunge into the astonishing world of Android and pick that shiny new Android device. Right now it is sitting proudly in your hands as you admire every curve, every pixel, visible or not of your new Android smartphone.It is the time to load your Android smartphone, to make it truly yours, a device that would be with you through your thick and thin. Time to install those applications which will complete your world, if not complete, at least make your world a lot more organized and a lot more fun. So which apps do you start off with?Like the famous Nokia commercial goes, you have our back. Here …

How to Password Protect & Encrypt Files [Mac/Windows]

How to Password Protect & Encrypt Files [Mac/Windows]

May 16, 2013 at 06:33PM Nowadays, the computer has a very important place in everybody’s life, as a personal gadget used for a lot of different things. Everything is digital and it is stored on a computer’s hard-disk or on a cloud system, offering you easier access to your favorite data.Computers have become the place where you hold pictures, documents, favorite music and everything else in the same place. While storing may include regular data, random and even useless information, people may also keep important stuff, such as wedding photos, work documents, projects and others.Have you ever thought about protecting critical data with a password? Taking into consideration that all information could be vulnerable to hackers or to unauthorized persons, this is a rather obvious procedure. Another reason to encrypt data can appear in case somebody else also uses that computer and you don’t want them to have access to private pict…

Who Needs To Pirate Software With A Free Software List Like This!

Who Needs To Pirate Software With A Free Software List Like This!

May 03, 2013 at 05:30AM I found this interesting list at this random forum on Internet and I found it worth sharing. It is indeed a huge list of free available software that you can use instead of buying or pirating the expensive ones. The list goes as following:3D Graphics:3Delight Free – http://www.3delight.com/index.htm
Anim8or – http://www.anim8or.com/
Aqsis – http://www.aqsis.com/
Blender – http://www.blender3d.org/
Houdini (Free Edition) – http://www.sidefx.com/apprentice/index.html
Now3D – http://digilander.libero.it/giulios/Eng/homepage.htm
OpenFX – http://www.openfx.org
POV-Ray – http://www.povray.org/
SOFTIMAGE|XSI EXP – http://www.softimage.com/products/exp/v3/
Terragen – http://www.planetside.co.uk/terragen/
Toxic – http://www.toxicengine.org/
Wings 3D – http://www.wings3d.com/Anti-Virus:a-squared – http://www.emsisoft.com/en/software/free/
AntiVir – http://www.free-av.com/
Avast – http://www.…