In this post i will show you how to display your latest google + updates on your wordpress blog. To get your latest google + updates you must have google + account. If you don’t have google + account then signup for google plus account first.

Add following lines of code inside your themes functions.php file. Make sure to add code inside PHP tag.

Google Plus Features

function google_plus_feed($id,$items=5)
		$rss = fetch_feed($feed);
		if (!is_wp_error( $rss ) ) : // Checks that the object is created correctly 
	    // Figure out how many total items there are, but limit it to 5. 
		$maxitems = $rss->get_item_quantity($items); 
	    // Build an array of all the items, starting with element 0 (first element).
		$rss_items = $rss->get_items(0, $maxitems); 
		<?php if ($maxitems == 0) echo '<li>No items.</li>';
		// Loop through each feed item and display each item as a hyperlink.
		foreach ( $rss_items as $item ) : ?>
		<a href='<?php echo esc_url( $item->get_permalink() ); ?>' title=''>
		<?php echo esc_html( $item->get_title() ); ?></a>
		<small><?php echo 'Posted On'.$item->get_date('j F Y | g:i a'); ?></small>			
		<?php endforeach; ?>

After that call add following lines of code inside your theme’s php file where you want to display your latest updates

	google_plus_feed('100104078886116260091',5); /* Replace 100104078886116260091 with your google Plus ID */

In above function call first parameter is your google plus id check following image to see what is google plus id. To get your google plus id visit your google plus profile page and check your address bar.

And second parameter is number of updates you want to display.

Where to find your Google Plus ID