LostFocus

Hi, I'm Dominik Schwind, friend of the internet. Here is /now.
Say hello to me on Twitter or maybe even subscribe to my weekly newsletter.

November 12, 2010

It’s quite popular to use the FeedSmith-Plugin when using FeedBurner with WordPress. ((Yay, CamelCase! Well, you’re at LostFocus. Duh.)) There is just one little problem: as Google themselves say on their webpage:

Please note that “tag” feeds in later WordPress versions are not supported.

Which just goes to show that they’re a bunch of lazy bums. All you need to do to make the feeds for tags work again is to change this line:

if (is_feed() && $feed != 'comments-rss2' && !is_single() && $wp->query_vars['category_name'] == '' && ($withcomments != 1) && trim($feedburner_settings['feedburner_url']) != '') {

into this:

if (is_feed() && $feed != 'comments-rss2' && !is_single() && $wp->query_vars['category_name'] == '' && $wp->query_vars['tag'] == '' && ($withcomments != 1) && trim($feedburner_settings['feedburner_url']) != '') {

in the FeedBurner_FeedSmith_Plugin.php.

Voila.

Comments

Milan

Cross posting from WPBeginner. This doesn’t affect just tags, but any other taxonomy and author feed.

Dominik Schwind

Yeah, I guess there should be some better way to work around the issue. My “solution” is really just a quick fix for the tag-feeds.

Pings

  • How to save your WordPress Tag Feeds in FeedBurner FeedSmith