One of the things I love about WordPress is the built-in rss feeds for tags, categories, authors, etc., and I'd love to put it to good use on my site.
If i want to use conditional tags to show the rss feed for a specific tag, category or author on their respective archive.php page, how would I go about it?
I've read http://codex.wordpress.org/Conditional_Tags but I'm very inexperienced with php and still a little confused...
Could I do something like this in archive.php?:
if, this is a category archive, then, "<a href="http://example.com/category/<?php echo single_cat_title(); ?>/feed">RSS feed for "<?php echo single_cat_title(); ?>"</a>
would I need to initiate a loop beforehand?
all my attempts so far are generating errors.. I truly appreciate any help.