ThemeShaper Forums » Power Blog


Remove/ alter RSS Links from Source

(3 posts)
  • Started 10 years ago by Crawler
  • Latest reply from cookieandkate


  1. Crawler

    I am new to the forum but am really excited about Thematic and the Power Blog.
    I run into a problem recently, which I m not able to solve by myself, perhaps someone can help me out.
    When I look at my source code, I find two RSS links right below the meta tags:
    link rel="alternate" type="application/rss+xml" title="test blog » Feed" href=""
    link rel="alternate" type="application/rss+xml" title="test blog » Kommentar Feed" href=""

    I cant figure out where these come from. I would like to remove the comments feed and change the "normal" feed to my feedburner url.
    Can anyone point out how to do this? Im even not sure if these links originate in Thematic or the Power Blog..
    Im running Thematic and Power Blog 1.1
    Thanks in advance

    Posted 10 years ago #
  2. middlesister

    You can do it by filtering thematic_rss and thematic_show_commentsrss.

    function remove_comments_rss( $display ) {
        return FALSE;
    add_filter('thematic_show_commentsrss', 'remove_comments_rss');
    function my_feed_link( $content ) {
        $content = 'YOUR LINK';
        return $content;
    add_filter('thematic_rss', 'my_feed_link'  );

    Put this in your child themes functions.php.

    Posted 10 years ago #
  3. Actually, that won't work for Thematic .9.7.5 or above. I tried it on my blog and it didn't change anything. Here's a post that explains more:

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.