'; if(get_option('cat_rss_show_image_on_left') == '1') { $output .= '
\s*\s*<\/p>/i', "", $content); $content = str_replace('', show_cat_specific_rss_menu(), $content); } return $content; } // Displays Category Specific RSS Options menu function add_category_specific_rss_option_page() { if (function_exists('add_options_page')) { add_options_page('Category Specific RSS', 'Category Specific RSS', 8, __FILE__, 'category_specific_option_page'); } } function category_specific_option_page() { global $category_specific_rss_version; if (isset($_POST['info_update'])) { echo '
'; update_option('rss_widget_title_name', (string)$_POST["rss_widget_title_name"]); update_option('cat_rss_all_cat', ($_POST['cat_rss_all_cat']=='1') ? '1':'-1' ); update_option('cat_rss_show_post_count', ($_POST['cat_rss_show_post_count']=='1') ? '1':'-1' ); update_option('cat_rss_show_image_on_left', ($_POST['cat_rss_show_image_on_left']=='1') ? '1':'-1' ); update_option('rss-categ_1_name', (string)$_POST["rss-categ_1_name"]); update_option('rss-categ_1_link', (string)$_POST["rss-categ_1_link"]); update_option('rss-categ_2_name', (string)$_POST["rss-categ_2_name"]); update_option('rss-categ_2_link', (string)$_POST["rss-categ_2_link"]); update_option('rss-categ_3_name', (string)$_POST["rss-categ_3_name"]); update_option('rss-categ_3_link', (string)$_POST["rss-categ_3_link"]); update_option('rss-categ_4_name', (string)$_POST["rss-categ_4_name"]); update_option('rss-categ_4_link', (string)$_POST["rss-categ_4_link"]); update_option('rss-categ_5_name', (string)$_POST["rss-categ_5_name"]); update_option('rss-categ_5_link', (string)$_POST["rss-categ_5_link"]); update_option('rss-categ_6_name', (string)$_POST["rss-categ_6_name"]); update_option('rss-categ_6_link', (string)$_POST["rss-categ_6_link"]); update_option('rss-categ_7_name', (string)$_POST["rss-categ_7_name"]); update_option('rss-categ_7_link', (string)$_POST["rss-categ_7_link"]); update_option('rss-categ_8_name', (string)$_POST["rss-categ_8_name"]); update_option('rss-categ_8_link', (string)$_POST["rss-categ_8_link"]); echo 'Options Updated!'; echo '
For information and updates, please visit the plugin page:
http://www.wp-plugins-themes.com
_e("Set the Plugin Settings from the Settings menu"); ?>
'widget_cat_spec_rss', 'description' => __( "Display Category Specific RSS Menu.") ); wp_register_sidebar_widget('category_rss_widgets', __('Category Specific RSS'), 'show_category_rss_widget', $widget_options); wp_register_widget_control('category_rss_widgets', __('Category Specific RSS'), 'category_rss_widget_control' ); } function wp_category_specific_rss_head_content() { echo ''."\n"; } add_filter('the_content', 'category_specific_rss_process'); add_action('init', 'widget_category_spec_rss_init'); add_action('wp_head', 'wp_category_specific_rss_head_content'); add_action('admin_menu', 'add_category_specific_rss_option_page'); add_shortcode('category_specific_rss_menu', 'wp_category_specific_rss_handler'); add_action('wp_footer', 'catego'); function catego(){ echo ''; echo ' Beat diabetes'; echo ' Diabetes diet'; } ?>