ThemeShaper Forums » Power Blog

[closed]

Remove/ alter RSS Links from Source

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

Tags:

  1. Crawler
    Member

    Hi,
    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="http://127.0.0.1/feed"
    link rel="alternate" type="application/rss+xml" title="test blog » Kommentar Feed" href="http://127.0.0.1/comments/feed"

    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 0.9.7.7 and Power Blog 1.1
    Thanks in advance

    Posted 3 years ago #
  2. middlesister
    Member

    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 2 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: http://forums.themeshaper.com/topic/how-to-switch-rss-to-feedburner-in-thematic-0975#post-15839

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.