Google+ is the latest Google Project that tasted success immediately after it's announcement (though it's in beta). If you're using Google+ and want your status updates to be displayed on your wordpress blog, then the following tips will help to display your latest Google Plus updates just like Facebook Status updates on a wordpress blog.
1.Display Latest Google+ Updates on Wordpress Using RSS
This method allows you to access your Google+ profile RSS feeds and display your updates.
Ex: https://plus.google.com/101851192312459339729/ is my Google Plus profile.
Now, my ID will be 101851192312459339729. In the same way, note down your Google+ profile ID.
And next, copy down the below code and paste it in your template files wherever you want the updates to be appeared. Remember to replace the ID in Red with your Google+ ID.
<?php2.Using Wordpress Plugin to Display Recent Google+ Updates
include_once(ABSPATH.WPINC.'/rss.php');
$googleplus = fetch_rss("http://plusfeed.appspot.com/101851192312459339729");
echo '<a href="';
echo $googleplus->items[0]['link']; echo '">';
echo $googleplus->items[0]['summary'];
echo $googleplus->items[0]['updated']; //Optional
echo '';
?>
This is the most easy way to display your latest updates from Google+ in your wordpress blog. Simple, install the Google+ Plus WordPress Widget and then enter your profile ID to let it start functioning.



0 comments:
Post a Comment