• I’d like to automatically set up links to category RSS feeds (with “RSS.gif”) after the category links, but am unsure how to do it.

    In other words, instead of WP listing:

    Category 1 (10)
    Category 2 (10)
    etc,

    it would list something like:

    Category 1 (10) RSS
    Category 2 (10) RSS

    Any suggestions on how I can add such a feature to the automated generation of categories?

    ie:

    <?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>

Viewing 7 replies - 1 through 7 (of 7 total)
  • take a look at this:
    https://codex.www.ads-software.com/Template_Tags/list_cats
    there are parameters for adding a rss link text and/or rss link image.

    bye, chris

    Thread Starter businessman

    (@businessman)

    Thanks for the reply, but I’m afraid the page isn’t helpful – some of us are fine editing HTML, but editing PHP code can be quite a challenge.

    For using an image with the categories, it tells us is that there is a parameter, but it doesn’t help explain how to apply that value – some examples would be helpful.

    Thread Starter businessman

    (@businessman)

    Any suggestions??

    Those pages were written by the very people on this forum so that they would not have to repeat answers ad nauseum. What could be more simple than setting the 16th parameter (feed image) in the tag:

    feed_image
    (string) Path/filename for a graphic to act as a link to each category’s RSS2 feed.

    Besides editing your site for you? WP works “as is” on install. If you want to make changes you are going to have to get your hands dirty and start tinkering.

    https://www.ads-software.com/support/topic/17396#post-99675

    Thread Starter businessman

    (@businessman)

    “What could be more simple than setting the 16th parameter (feed image) in the tag”

    For a PHP coders, child’s play – for non-PHP coders, it’s something of a challenge.

    Thanks for the link, though – much appreciated.

    Well, as a fellow non-PHP coder (actually a non-PHP non-Coder), post what you have for the tag and we’ll clean up the parameters for you.

    It is not coding to enter the image path – that path is run through the code in the function to display the image. Essentially the function (code) just requires the image path in order for it to do its thing.

    This link I posted will show you what I use.

    Have used the feed tag to get it to display the RSS feed link to the right of the category. however, when I try subscribing to it in my feed reader it comes up saying”This is an invalid feed”. It then tries to resolve it by finding the correct feed. It comes up with the main feed of the WordPress site I have created and says that i have already subscribed to it.

    Any ideas? Some people will only want to subscribe to certain categories and not he whole site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to automatically add RSS link beside categories?’ is closed to new replies.