Displays the recent posts of your blogroll links via RSS Feeds in a customizable sidebar widget
blogroll-widget-rss folder into your wp-content/plugins/ directoryPHP Code and Configuration:
Alternative to the WordPress Appearance Widgets SubPanel you can add and configure the Blogroll Widget with RSS Feeds directly
in your theme file (e.g. sidebar.php). In this case call the function <?php show_blogroll_widget_rss(); ?> at the
place in your sidebar you want to show it. This will display the Blogroll Widget with RSS Feeds with the default
configurations. The widget output starts with <ul><li> and ends with </li></ul>. You can put anything what and as
you want around it.
To configure the Blogroll Widget with RSS Feeds in the theme file, please add an array of settings to the function. Following the array with the defaults:
<?php show_blogroll_widget_rss( array(
'show_items' => -1,
'category' => false,
'item_order' => 'link_name ASC',
'show_image' => 'show-no-images',
'thumb_size' => 50,
'show_link' => 0,
'show_link_nf' => 0,
'feed_items' => 1,
'shorten_feedlink' => 0,
's_f_length' => 20,
'feed_link_nf' => 0,
'show_summary' => 0,
'summary_length' => 100 ) ); ?>
PHP configuration options:
In the array you only need to define the configurations differing to the defaults, for the other configurations
the defaults are taken automatically. So if you only want to add the feed post excerpts with 100 characters, your PHP
Code would be <?php show_blogroll_widget_rss( array('show_summary' = 1) ); ?>.
Display Blogroll RSS Widget on a single page:
If you would like to display the Blogroll RSS Widget on a single page (instead or additionally to the sidebar), you can
do this in your page.php theme file. After the code the_content(); you enter the PHP Code of the Blogroll RSS Widget
with your individual configuration into a if clause statement group by using the
WordPress Page Conditional Tag, e.g. for
the single page with the ID 167: if ( is_page('167') ) { your blogroll rss widget code }