ThemeShaper Forums » Thematic


How to switch RSS to feedburner in Thematic

(2 posts)
  • Started 11 years ago by TungZ
  • Latest reply from em hr
  • This topic is not resolved
  1. I want to change my RSS to feedburner. Here is my code:

    function my_rss($content) {
        $content = "\t";
        $content .= "<link rel=\"alternate\" type=\"application/rss+xml\" href=\"";
        $content .= '';
        $content .= "\" title=\"";
        $content .= esc_html(get_bloginfo('name'));
        $content .= " " . __('Posts RSS feed', 'thematic');
        $content .= "\" />";
        $content .= "\n";
        return $content;

    But it doesn't work. I download thematic from SVN. Any suggestions?

    Posted 11 years ago #
  2. Here's the rub Thematic and earlier had two functions that output the feed links. The filters for those functions are : thematic_show_rss and thematic_show_comments_rss

    Now with Thematic has added support for a WP 3.0 function parameter add_theme_support('automatic_feed_links') . As a result if you are using with WP 3.0 or greater those Thematic feed functions and filters do absolutely nothing.

    Look at this post on how to filter WP to add your custom feed links via PHP:

    or you could use the tried and true .htaccess method of redirection:


    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.