Plugin / Blogroll Widget with RSS Feeds

Tanja Preuße

Installation

Installation

  1. Unzip the ZIP plugin file
  2. Copy the blogroll-widget-rss folder into your wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to the Appearance Widgets SubPanel to add the Blogroll Widget with RSS Feeds to your sidebar and configure it

PHP 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:

  • show_items => -1 displays all items, any other number displays the number amount of items
  • category => false for all links, otherwise the number of the respective link category id
  • item_order => either link_name ASC, or link_name DESC, or link_id ASC, or link_id DESC, or rand()
  • show_image => either show-no-images, or show-my-own-images, or create-thumbnails
  • thumb_size => any number greater than 10 defines the pixel size of the images
  • show_link => 0 = no blogroll links, 1 = display blogroll links
  • show_link_nf => 0 = no ‘rel=nofollow’ attribute is added to blogroll links, 1 = adds ‘rel=nofollow’ attribute to blogroll links
  • feed_items => any number between 1 and 10 defines how many feed post links are displayed
  • shorten_feedlink => 0 no feed post link text shortening, 1 = shorten the feed post link text
  • s_f_length => number of characters of feed post link text
  • feed_link_nf => 0 = no ‘rel=nofollow’ attribute is added to feed post links, 1 = adds ‘rel=nofollow’ attribute to feed post links
  • show_summary => 0 = no feed post excerpts, 1 = display feed post excerpts
  • summary_length => any number between 10 and 999 defines how many characters of the feed post excerpts are displayed

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 }

Ratings

5
1 reviews

Rating breakdown

Details Information

Version

2.2

First Released

05 Mar, 2010

Total Downloads

50,825

Wordpress Version

2.8 or higher

Tested up to:

3.4.2

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.