Google+ is Google’s Social Networking Platform. Today’s Snack will show you how to display your most recent Google Plus update on your WordPress site.
Add this code below to your current WordPress theme’s template file where you want the Google+ update to show. An example could be your sidebar.php file.
/** * Show most recent Google+ Update * * @author WPSnacks.com * @link http://www.wpsnacks.com */ <?php include_once(ABSPATH.WPINC.'/rss.php'); $googleplus = fetch_feed("http://plusfeed.appspot.com/Your_Google+_ID_Here"); echo '<a href="'; echo $googleplus->items['link']; echo '">'; echo $googleplus->items['summary']; echo ''; ?>
Just be sure to replace Your_Google+_ID_Here with your Google Plus ID number.
Be sure to replace Put_Adsense_Code_Here with your Adsense generated Ad code. Then just put [Adsense] anywhere in your content that you would like to display that Adsense Ad. Hope this helps, enjoy!