Category RSS feeds icons with the Category widget (and Freshy)
Dec 30, 2006 | 20:15 CETIt have bothered me for a while that the RSS icon behind categories didn’t show. I was not sure whether the WordPress category widget, the Freshy theme or both were at fault. I’ve seen that there are some other threads on this issue, such as:
- http://wordpress.org/support/topic/86284
- http://themes.wordpress.net/columns/2-columns/512/freshy-10/
But, none of them seemed to have the complete solution (or did I miss it as usual?).
Jimisola.com has the following settings/usage information:
- the standard categories widget is being use
- Freshy Options -> Sidebar menu behaviour: Normal
I looked into the sidebar.php for Freshy and it obviously has the call to the wp_list_cats method has the right options to output RSS links:
wp_list_cats(’sort_column=name&optioncount=1&feed=RSS’);
but this section of the sidebar never seems to be called - at least not with my settings.
So, I figured that the widget was at fault and it was. To have a RSS feed link to show with the RSS feed icon provided by Freshy change the following in the function widget_categories in the wp-content/plugins/widgets/widget.php file:
wp_list_cats("sort_column=name&optioncount=$c&hierarchical=$h");
to
wp_list_cats("sort_column=name&optioncount=$c&hierarchical=$h&feed=RSS&feed_image=" .get_bloginfo('stylesheet_directory') . "/images/icons/feed-icon-10x10.gif"); ?>






Recent Comments