How to display your latest google+ wordpress blog


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. include_once(ABSPATH.WPINC.'/rss.php');
  3. $googleplus = fetch_feed("http://plusfeed.appspot.com/103329092193061943712"); // Replace 103329092193061943712 by your own ID
  4. echo '<a href="';
  5. echo $googleplus->items[0]['link']; echo '">';
  6. echo $googleplus->items[0]['summary'];
  7. echo '';
  8. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.