Google+ is the newest project from Google. If you’re using it, you may want to know how you can easily display your latest Google+ update on your WordPress blog. This is what you’re going to learn with today’s recipe.
Simply paste the following code where you want to display your latest Google+ update. Don’t forget to put your Google+ ID on line 3.
<?php include_once(ABSPATH.WPINC.'/rss.php'); $googleplus = fetch_feed("http://plusfeed.appspot.com/103329092193061943712"); // Replace 103329092193061943712 by your own ID echo '<a href="'; echo $googleplus->items[0]['link']; echo '">'; echo $googleplus->items[0]['summary']; echo ''; ?>
Thanks to Valentin Brandt for the cool tip!