Well, how are you ‘calling,’ or what exactly defines, the custom feed? Are you passing a query var (i.e. $_GET
) the plugin watches for?
Thread Starter
quarkz
(@quarkz)
No, not at the moment.
The custom feed needs to have a different size image as compared to the regular feed. I was using a plugin/filter to resize the images(which works fine) but I need ONLY the custom feed to have the updated image size.
Perhaps if you set a PHP constant with the custom feed, and test on this along with (I assume) is_feed().
Reference:
http://php.net/language.constants
Well, how you do it really depends on how you’re generating this “custom feed”. We need to know more about how your feed works.
Thread Starter
quarkz
(@quarkz)
Thanks for your inputs.I’ll try out the constant option.
The custom feed template is the same as the rss2 feed. The only thing different would be the image sizes.I would like my plugin to affect only the output of the custom RSS.
Any other options I could look at to generate 2 different outputs from same rss2 feed ?