'widget_super_rss_reader', 'description' => 'Enhanced RSS feed reader widget with advanced features.' ); $control_ops = array('width' => 500, 'height' => 500); parent::__construct('super_rss_reader', 'Super RSS Reader', $widget_ops, $control_ops); } // Display the Widget public function widget( $args, $instance ){ extract( $args ); if( empty( $instance[ 'title' ] ) ){ $title = ''; }else{ $title = $before_title . apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ) . $after_title; } echo $before_widget . $title; echo "\n" . '
' . "\n"; SRR_Widget::render_feed( $instance ); echo "\n" . '
' . "\n"; echo $after_widget; } // Save settings public function update( $new_instance, $old_instance ){ $instance = $old_instance; $instance[ 'title' ] = stripslashes( $new_instance['title'] ); $instance[ 'urls' ] = stripslashes( $new_instance['urls']) ; $instance[ 'tab_titles' ] = stripslashes( $new_instance['tab_titles'] ); $instance[ 'count' ] = intval( $new_instance['count'] ); $instance[ 'show_date' ] = intval( $new_instance['show_date'] ); $instance[ 'show_desc' ] = intval( $new_instance['show_desc'] ); $instance[ 'show_author' ] = intval( $new_instance['show_author'] ); $instance[ 'show_thumb' ] = stripslashes( $new_instance['show_thumb'] ); $instance[ 'open_newtab' ] = intval( $new_instance['open_newtab'] ); $instance[ 'add_nofollow' ] = intval( $new_instance['add_nofollow'] ); $instance[ 'strip_desc' ] = intval( $new_instance['strip_desc'] ); $instance[ 'strip_title' ] = intval( $new_instance['strip_title'] ); $instance[ 'read_more' ] = stripslashes( $new_instance['read_more'] ); $instance[ 'rich_desc' ] = stripslashes( $new_instance['rich_desc'] ); $instance[ 'color_style' ] = stripslashes( $new_instance['color_style']); $instance[ 'enable_ticker' ] = intval( $new_instance['enable_ticker']); $instance[ 'visible_items' ] = intval( $new_instance['visible_items']); $instance[ 'ticker_speed' ] = intval( $new_instance['ticker_speed']); return $instance; } // Widget form public function form( $instance ){ $instance = wp_parse_args((array) $instance, SRR_Widget::default_settings()); $title = htmlspecialchars($instance['title']); $urls = htmlspecialchars($instance['urls']); $tab_titles = htmlspecialchars($instance['tab_titles']); $count = intval($instance['count']); $show_date = intval($instance['show_date']); $show_desc = intval($instance['show_desc']); $show_author = intval($instance['show_author']); $show_thumb = intval($instance['show_thumb']); $open_newtab = intval($instance['open_newtab']); $add_nofollow = intval($instance['add_nofollow']); $strip_desc = intval($instance['strip_desc']); $strip_title = intval($instance['strip_title']); $read_more = htmlspecialchars($instance['read_more']); $rich_desc = htmlspecialchars($instance['rich_desc']); $color_style = stripslashes($instance['color_style']); $enable_ticker = intval($instance['enable_ticker']); $visible_items = intval($instance['visible_items']); $ticker_speed = intval($instance['ticker_speed']); // Replacing commas with new lines $urls = str_replace( ',', "\n", $urls ); $tab_titles = str_replace( ',', "\n", $tab_titles ); ?>
Can enter multiple RSS/atom feed URLs in new line
Enter corresponding tab titles in new line.

Settings

/> />
/> />

/>
/>
/>
Note: You have enabled "Full/Rich HTML" Please make sure that the feed(s) are from trusted sources and do not contain any harmful scripts. If there are some alignment issues in the description, please use custom CSS to fix that.

Customization

get_field_name('color_style') . '" id="' . $this->get_field_id('color_style') . '">'; foreach($color_themes as $k => $v){ echo ''; } echo ''; ?>

Set value less than 20 to show visible feed items. Example: 5 items
Set value greater than 20 for fixed widget height. Example: 400 px
/>
seconds

Thank you for using Super RSS Reader. If you found it useful, please buy me a coffee !

Buy me a coffee !

Share a featureRequest feature Want any feature you would like to see in Super RSS Reader plugin ? Please share your requirements and features in a quick form.

FAQ | Report issue | Rate 5 stars & review | v