You are ten seconds away.

TopRequirements

TopDownload & Install

There are two methods for installation. You can either use svn (for the advanced user) or you can simply download the zip. Both methods should allow you to automatically receive updates from WordPress.org.

Using Subversion

ssh yourwebsite.com
cd public_html/wp-content/plugins/
svn co http://svn.wp-plugins.org/lifestream/trunk lifestream

Download the Zip

Quick and painless: Download from WordPress.org.

If you like the plugin, please rate it on WordPress.org!

Get Notified of Updates

Your Email:

Installation & Configuation

Activate the plugin under the "Plugins" menu.

Visit "LifeStream" -> "Settings" to configure the basic options, and add feeds.

There are severals methods in which you can use LifeStream in a WordPress page.

The easiest way is to use the normal context handler (works in pages and posts):

[lifestream]

Another method requires a custom WordPress page, or the use of a template, and is a simple function call:

<?php lifestream(); ?>

You may also specify several parameters in the lifestream method (useful for sidebar display). These should be in the standard key => value pair format for PHP arrays.

For example:

[lifestream limit="10"]

For more advanced uses, you may directly use get_events() which will return an array of Event instances. This is the same syntax as the lifestream() method.

Example:

<ul>
<?php
$events = $lifestream->get_events(array('number_of_results' => 50));

foreach ($events as $event)
{
	echo '<li>'.$event->render().'</li>';
}
?>
</ul>

Another popular example, would to be show your current Twitter, or Facebook status somewhere in your templates:

$events = $lifestream->get_events(array('feed_types'=>array('twitter'), 'number_of_results'=>1, 'break_groups'=>true);
$event = $events[0];

// to render it with links
echo $event->feed->render_item($event, $event->data);

// or render just the text
echo $event->data['title'];

Or, use our handy shortcuts:

<?php lifestream_twitter_status(); ?>

And

<?php lifestream_facebook_status(); ?>

TopLicense

Copyright (c) 2008-2014 Enthropia Inc

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


© 2005-2014 Enthropia Inc