• Subscribe
  • '; } else { echo ''; } echo $after_widget; } function feed_email_subscribe_widget_create($args) { extract($args); echo $before_widget; echo get_option('smart_feed_email'); echo $after_widget; } function register_feed_redirect() { if(get_option('smart_feed_feedburner_enabled')) { if (!is_feed()) { return; } else if (preg_match('/feedburner/', $_SERVER['HTTP_USER_AGENT'])) { return; } else { header("Location: ".get_option('smart_feed_feedburner')); } } else { return; } } function register_feed_ad_manipulation($content) { if(is_feed()) { $prefix = ''; $suffix = ''; if(get_option('smart_feed_ad_top_enabled')) { $prefix = get_option('smart_feed_ad_top'); } if(get_option('smart_feed_ad_bottom_enabled')) { $suffix = "

    ".get_option('smart_feed_ad_bottom')."

    "; } return $prefix.$content.$suffix; } else { return $content; } } function register_feed_head_manipulation() { if(get_option('smart_feed_head_enable')) { add_action('rss_head', 'smart_add_feedimage_rss'); add_action('rss2_head', 'smart_add_feedimage_rss'); } } function smart_add_feedimage_rss() { echo " ".get_bloginfo('name')." ".get_option('smart_feed_head')." ".get_bloginfo('url')." ".get_option('smart_feed_head_width')." ".get_option('smart_feed_head_height')." get_bloginfo('description') "; } // action function for adding the administrative page function smart_add_feedspage() { ?>

    WP-INSERT : Manage Feeds

    Logo for your feed /> Enabled
    Logo URL
    ( Paste the URL of your logo image in the box above )
    Logo Width
    ( The width of your logo image )
    Logo Height
    ( The height of your logo image )
    Insert ads into your feed The ads might not show up for already written posts!
    Ad code to insert
    ( Above feed content )

    /> Enabled

    ( Paste your ad-sense or similar code in the box above )
    Ad code to insert
    ( Below feed content )

    /> Enabled

    ( Paste your ad-sense or similar code in the box above )
    Feedburner
    Feedburner Feed URL

    /> Enabled

    ( Paste your Feedburner feed URL in the box above )
    Subscribe via E-mail Widget

    /> Enabled

    ( Paste your Feedburner Subscribe via email code in the box above )
    Subscribe Widget
    Subscribe Widget Header
    ( Optional ) /> Enabled

    ( Paste the header text for subscribe in the box above )