"Add a Comment"/"Comments: ##" from WordPress.Com
-
It has nothing to do with the code base. 🙂
The WordPress.com Reader has more ways to connect and interact with WordPress.com Blogs, so it shows comment counts with the option to reply with a comment or Like a post.
All other blogs in the WordPress.com Reader utilize the blog’s post-only RSS feed, which as it implies only contains the post.
Nothing is wrong with your blog or the WordPress codebase, it’s simply that the WordPress.com Reader can interact with WordPress.com Blogs more than it can with others.
My query has nothing to do with the WordPress.Com Reader.
The RSS feed from those WordPress.Com blogs has the comment link within the article.
You can read these feeds in any RSS reader and they will have the link. I read both of those blogs at http://planet-if.com, which has nothing to do with WordPress.Com.
So you’re correct that nothing is wrong with my blog/theme or the WordPress.org codebase. (I didn’t say there was anything wrong).
I’m simply asking for the code that injects the comment link into the RSS feed.
If the answer is, “That’s a proprietary feature of WordPress.Com”, that’s at least an answer.
But if it’s just some php code that .Com uses and is not in the .Org code, why not share?
Ah, I see, it looks like a post flair type of thing, like what you’d find from Feedburner.
Instead of modifying a core file, I recommend using or writing a plugin.
I’m not 100% sure if https://wordpress.org/plugins/ozh-better-feed/ still works, but it used to do exactly what you’re looking for.
If it doesn’t quite work now, it will at least make a great template for your own fork of the plugin. 🙂
Thanks, but I wasn’t looking to get into the plugin-writing business.
The solution is in WordPress.Com. It’s just a matter of getting someone to offer a better answer as to why it’s not in the public source code.
I can’t really say, WordPress.com and WordPress.org are two entirely separate entities: https://codex.wordpress.org/WordPress_vs_WordPress.com
There’s also a lot under the hood that’s quite different.
Did you try the plugin? If it works, then that’s all you need.
I just tried the plugin. I shied away at first because of its age, but your persistence paid off. With a little tweaking, it does what I want.
Your patience is much appreciated.
You’re welcome! 🙂
The topic ‘"Add a Comment"/"Comments: ##" from WordPress.Com’ is closed to new replies.
(@chicagodave)
10 years, 7 months ago
I would like the functionality that exists in WordPress.Com for the comments link at the bottom of an article in an RSS feed.
I see this in two different blogs and it is not theme related. It has to be in the core WP code base.
Examples:
https://emshort.wordpress.com/feed/
https://heterogenoustasks.wordpress.com/feed/
In both cases, a comments link is appended to the article in the RSS feed. This link does not exist in the article itself.
The pattern is (from the second blog feed):
The image is a favicon from feeds.wordpress.com that shows either “Add a Comment” (as an image) or “Comments: ##” (also as an image) and the link takes you to the blog comments section directly.
I’m guessing this is a hack in the feeds-rss2.php code, but am unsure what to put there to achieve the same results.
Note that I’ve asked the WordPress.Com folks for help and they sent me here, so please don’t send me back there. (:
David