Register or log in:



Hot Tags

Blog Oh! Blog Forums » Blog Design Tips

Category RSS Links

(2 posts)

Tags:


  1. jgaulard
    Member

    I was wondering if you could provide a bit of code (with instructions) that would allow me to add a little "RSS" link next to each category link in the sidebar.

    As I understand it, each category already has a feed, so all I need to do is link to them. I have seen this on other blogs.

    Do you already have something like this? I believe I am using your very nice Blog Oh Blog v2.0 theme.

    Thank you.

    Jay G.

    Posted 8 months ago #
  2. The following code will list all categories sorted by name and with RSS links to them.

      <?php wp_list_categories('orderby=name&feed=RSS'); ?>

    To replace the RSS link with a feed icon, you could write:

      <?php wp_list_categories('orderby=name&feed_image=/images/rss.gif'); ?>

    Don't forget to change the image path in the above code :)

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.

{ A Forum of Blog Oh! Blog }