Tagged Questions
0
votes
1answer
91 views
How to use is_feed() to target a category feed?
is_feed (one of the many conditional tags) can be used to determine if the current query is for a feed.
But how do I use it to target all category feeds? (or tag or custom taxonomy feeds for that ...
3
votes
1answer
59 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
66 views
Conditional tag to show content in custom rss feed?
The wonderful answer here helped me create a custom RSS feed, and that's one major part done.
I know that there's the is_feed conditional tag to show content only if it's a feed. But is there a ...