Sidebar Widgets and drag and drop the widget to wherever you want to show it. Changelog 0.1 = First public release. */ function widget_flickr($args) { if( file_exists( ABSPATH . WPINC . '/rss.php') ) { require_once(ABSPATH . WPINC . '/rss.php'); } else { require_once(ABSPATH . WPINC . '/rss-functions.php'); } extract($args); $options = get_option('widget_flickr'); if( $options == false ) { $options[ 'title' ] = 'Flickr Photos'; $options[ 'items' ] = 3; } $title = empty($options['title']) ? __('Flickr Photos') : $options['title']; $items = $options[ 'items' ]; $flickr_rss_url = empty($options['flickr_rss_url']) ? __('http://flickr.com/services/feeds/photos_public.gne?id=78656712@N00&format=rss_200') : $options['flickr_rss_url']; if ( empty($items) || $items < 1 || $items > 10 ) $items = 3; $rss = fetch_rss( $flickr_rss_url ); if( is_array( $rss->items ) ) { $out = ''; $items = array_slice( $rss->items, 0, $items ); while( list( $key, $photo ) = each( $items ) ) { preg_match_all("/

"; } $flickr_home = $rss->channel[ 'link' ]; $flickr_more_title = $rss->channel[ 'title' ]; } ?>
More Photos

* Your RSS feed can be found on your Flickr homepage. Scroll down to the bottom of the page until you see the Feed link and copy that into the box above.

Leave the Flickr RSS URL blank to display Donncha's Flickr photos.