WordPress.org

Ready to get started?Download WordPress

Forums

Change "Comments On:" channel title in RSS feeds (2 posts)

  1. crazywhistlepig
    Member
    Posted 3 years ago #

    Is there a way to change the "Comments On:" RSS channel title in the comments RSS feed without hacking the core files? I've tried the following:

    function mytheme_rss_title($title) {
    	$mytitle = "Test Title";
    	return $mytitle;
    }
    add_filter('the_title_rss', 'mytheme_rss_title');

    However this changes only the text after the "Comments On:." I've tracked the text to line 22 of \wp-includes\feed.php but it doesnt look like I have any options other than editing that file. I have also searched for plugins for this, all of which only modify the code after "Comments On:."

    Thanks in advance for any reply.

  2. crazywhistlepig
    Member
    Posted 3 years ago #

    Whoops, the code I mentioned is on line 22 of \wp-includes\feed-rss2-comments.php.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.