Saturday 6 August 2011

How to Display Latest Google Plus Update on Your Blog [wordpress]

Google Plus is the newest project from Google and it is also the new invitation-only social media kid on the block that wants to knock Facebook off the mountain. If you are currently using Google Plus and want to add the latest Google Plus update on your blog, that’s possible, you can copy and paste the following on your WordPress files.



<?php
 include_once(ABSPATH.WPINC.'/rss.php');
 $googleplus = fetch_feed("http://plusfeed.appspot.com/103329092193061943712"); // Replace 103329092193061943712 by your own ID
 echo '<a href="Here_To_Put_Your_Google_Plus_ID';
 echo $googleplus->items[0]['link']; echo '">';
 echo $googleplus->items[0]['summary'];
 echo '';
?>


P/S: Don’t forget to put your Google+ ID on line 3.

No comments:

Post a Comment