Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    Add this tag to your theme’s Category template:

    <?php the_category_rss() ?>

    More info: https://codex.www.ads-software.com/Template_Tags/the_category_rss

    ::Edit:: Never mind, that’s not it. Hang on for a sec.

    Moderator James Huff

    (@macmanx)

    Ugh, this is icky. It looks like the jury is still out on this one. You may be able to get by if you add this to your theme’s Category template, but I can’t promise that it’ll work:

    <?php wp_list_cats('feed=rss2'); ?>

    More info: https://codex.www.ads-software.com/Template_Tags/wp_list_cats

    Thread Starter dmetzcher

    (@dmetzcher)

    Yeah, neither worked. Thanks for trying though. ??
    Anyone else have any ideas? This has to have been done somewhere.

    Thread Starter dmetzcher

    (@dmetzcher)

    I found a not-so-graceful way to get this done. Add the following code just under <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2>.
    ———————————————————-
    <p align="center"><a href="feed:https://www.website.com/index.php/category/<?php echo single_cat_title(); ?>/feed/"><img style="vertical-align:middle" src="/wp-content/themes/default/images/badge_xml_rss2.png"></a> <a href="feed:https://www.website.com/index.php/category/<?php echo single_cat_title(); ?>/feed/">Subscribe to the RSS 2.0 feed for this category.</a>

    ———————————————————-
    This is all done in the archive.php file.

    Obviously, you have to change “website.com” to your domain. It is in two places above.

    Until something better comes along, this will have to do.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘RSS “Subscribe” link on a category’s archive page?’ is closed to new replies.