The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
138 views

add_feed and flush_rewrite_rules

There seems to be quite a controversial opinion on the WordPress flush_rewrite_rules() function. According to the Codex, it is highly discouraged to use this function on the init action hook. ...
1
vote
1answer
107 views

Creating a custom feed for categories that includes the first post's featured image

I'm needing a little help getting this figured out. I have a query that's not quite working right now, but I need it to create a custom feed that includes category information and then includes the ...
3
votes
1answer
103 views

Possible to use conditionals within add_feed() callback?

I'm using add_feed() to create some custom feeds but calls to is_singular(), is_home() etc... just don't seem to work within the callback. Is there a workaround for this? Example code: add_action( ...
0
votes
1answer
33 views

add_feed failed to open stream

Trying to add a new feed with: function events_feed() { include(TEMPLATEPATH . '/events.php/'); } add_feed('gpevent','events_feed'); And I'm getting a failed to open stream directory not found ...
0
votes
1answer
924 views

Cannot get add_feed to work

I want to add a custom feed on my site for SEO purposes. So, I first copy the /wp-includes/feed-rss2.php file into my theme folder and renamed it. I figured I'll be able to easily edit my feed. Then ...
0
votes
1answer
926 views

Custom JSON feed rewrite

I'm trying to implement a feed of information from an Event custom post type in JSON format, to be used in a FullCalendar implementation, pretty much as described here. The one thing I wanted to ...
0
votes
1answer
135 views

how to publish a feed of posts with a certain custom field value?

In addition to the normal feed that wordpress produces, i need to publish an additional feed of posts that have a certain custom field value. I'm a bit lost on where to start. Any tip?
2
votes
2answers
1k views

Yoast custom feed template as add_feed function?

I'm trying to make Yoast's Custom RSS feeds post display in an add_feed function. Just putting Yoast's snippet inside add_feed results in: ERROR: feedname is not a valid feed template. I have ...
3
votes
3answers
3k views

How to flush feed? Or set timeout on feed so that it isn't cached?

I'm trying to add a custom feed format to my site (basically exporting data to an Excel file) and I'm getting confused by the feed caching settings. I can't figure out how to flush the cached feeds, ...