• With this code I can display category feeds in the sidebar:

    <?php
    $cats = get_the_category();
    $num = count($cats);
    for($i=0; $i<$num; $i++)
    {
    $cat=$cats[$i];
    echo '<a href="';
    get_category_rss_link(true,$cat->cat_ID,$cat->category_nicename);
    echo '">'.$cat->cat_name.'</a>';
    if ($i != $num-1) echo ', ';
    }
    ?>

    The problem is this will fetch the feeds of all categories assigned to posts pertaining to a category.

    What I actually want is a single category feed when viewing a specific category. I suppose this set up succesfully at this support forum (“RSS feed for this forum”).

    Kind regards,
    st

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Category feeds’ is closed to new replies.