• How To?
  • Tips ‘n Tricks
  • WordPress
  • Snippets
  • Software
    • Browsers
    • Downloads
  • Web
  • Tools
    • Character Counter
    • chmod Calculator
    • Entities Encoder
    • Live HTML Editor
    • My IP
  • Contact
Twitter Facebook Google+ RSS
You are here: SumTips » How To? » Display Your Latest Google+ Update on WordPress

Display Your Latest Google+ Update on WordPress

Posted on August 1, 2011 by Renji | Short URL: http://sumtips.com/?p=4528

Earlier I had posted about a tool called PlusFeed that let users subscribe to public RSS feed of any Google+ user they wanted. Now using that app you can display your latest update from Google+ on your WordPress blog.

Latest Google+ Update

Latest Google+ Update

The update shows your entire post including attached images, videos or links, and optionally published date and time.

Here’s the code that you will need:

php
	include_once(ABSPATH.WPINC.'/rss.php');
	$googleplus = fetch_rss("http://plusfeed.appspot.com/100000000000000000001");
	echo '<a href="';
	echo $googleplus->items[0]['link']; echo '">';
	echo $googleplus->items[0]['summary'];
	echo $googleplus->items[0]['updated']; //Optional
	echo '';
?>

Code description and things that you need to change:

  • 100000000000000000001 :Replace with your own Google+ profile ID
  • items[0] : Update number to show. Ex. [0] to display the last update, [1] to display the second last update, and so on.
  • ['summary'] : You can display either ‘summary‘ or ‘title‘ of your update.
  • ['updated'] : This shows the post published date. It is optional.
That’s it. You can display your updates on any post, page or even in a widget on WordPress. Of course, this method is necessary, and should be used, only till Google releases Google+ API. (via)

Tweet

Related posts:

  • Hide WordPress Update Nag in Admin Dashboard
  • Froyo Update for Samsung Galaxy S by October End [Update: November]
  • Customize and Add Google +1 Button to WordPress, Blogger and other Websites
  • Get Latest Development Versions Of Google Chrome
  • PlusOne: Google+ Styled WordPress Theme
Categories: How To? | Tags: Google Plus, WordPress
Create Google Plus Profile Banner Images
Save Notes From Google+ to Evernote, Springpad and Remember the Milk

  • Get Updates via Email

  • Recent Posts

    • CMS2CMS: Migrate Site from Drupal or Joomla to WordPress
    • WordPress: Add Preview Button in Distraction Free Writing
    • How to Activate or Deactivate Individual Jetpack Modules
    • Windows 8: Auto Update Defender with Windows Update Disabled
    • Automatically Start and Close Programs at Specific Time
    • How to Copy Code from Notepad++ with Syntax Highlighting
  • Random Posts

    • Tiny Window Borders Can Resize Windows 8 Border Width
    • Make WordPress Remember Your FTP Details
    • Disable New York Times Paywall on All Browsers
    • Download All Your Tagged Photos & Albums from Facebook with Pick & Zip
    • Google's Page Speed Extension Now Available For Google Chrome
    • Winamp App for Android Now Available
  • Categories

    • Blogging
    • Games
    • Google
    • How To?
    • Linux
    • Microsoft
      • Windows
    • Miscellaneous
    • Phone
    • Snippets
      • AutoHotkey Snippets
      • CSS Snippets
      • htaccess Snippets
      • JavaScript Snippets
      • PowerShell Snippets
      • WordPress Snippets
    • Social
    • Software
      • Browsers
    • Tips 'n Tricks
    • Wallpapers
    • Web
© SumTips. Contact | Sitemap | Privacy Policy