logoAbout Me: I'm a freelance web developer that specializes in WordPress Themes and plugin development. I've written about some of my projects here.
Hire me e-mail

Home / blog / Title in Comment RSS – Wordpress

I noticed when reading comment rss feeds from other blogs I had a tough time following since Wordpress doesn’t include the post title in the comment feed. I looked around and found the solution. All you need to do is change one line in the wp-commentsrss2.php file.

On line 52 change this:

with this

<br /> < ? php if ( (! is_single()) || (! is_page()) ) {<br /> $title = get_the_title($comment->comment_post_ID);<br /> $title = apply_filters('the_title', $title);<br /> $title = apply_filters('the_title_rss', $title);<br /> echo "$title --";<br /> } ? >

Now all you (JB) need to do is change yours.
[link]

blog comments powered by Disqus