Posted By

florent on 10/07/11


Tagged

google wordpress google+


Versions (?)

How to display your latest google+ wordpress blog


 / Published in: Other
 

  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  

You need to login to post a comment.