Forums

[resolved] Category RSS Links and Images (18 posts)

  1. ashconnor
    Member
    Posted 3 years ago #

    I recently found this weblog were a guy displays RSS for all this categories with little RSS feed images.

    Does anybody know how I can archieve this?

    Using K2 template and Sidebar widgets.

    Ash

  2. vkaryl
    Member
    Posted 3 years ago #

    Could you provide a link to the blog with the images?

  3. ashconnor
    Member
    Posted 3 years ago #

  4. whooami
    Member
    Posted 3 years ago #

    <?php wp_list_cats('feed_image=full_url_to_feed_img'); ?>

  5. ashconnor
    Member
    Posted 3 years ago #

    Where does this string go?

    Ash

  6. whooami
    Member
    Posted 3 years ago #

    it goes where-ever you want the category list to show up.

  7. ashconnor
    Member
    Posted 3 years ago #

    OK

    wp-content/plugins/widgets/default/sidebar.php

    I've added

  8. <h2>Categories</h2>
      <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0&feed=RSS&feed_image=full_url_to_feed_img'); ?>

    But still no luck.

    Ash

  • Chris_K
    Administrator
    Posted 3 years ago #

    Try in wp-content/themes/YourThemeName/sidebar.php and see if that doesn't work.

  • whooami
    Member
    Posted 3 years ago #

    .. and please tell me you edited the "full_url_to_feed_img" part. Thats where YOU need to put the url to the image you want to use.

  • ashconnor
    Member
    Posted 3 years ago #

    Yes I've edited the image url but still no luck.

    I'm not editing the /theme/sidebar.php because I've using the sidebar widgets plugin so I've been editing

    /plugins/widgets/classic/
    /plugins/widgets/default/

    Because they both containt wp_cats and I don't know which one wordpress is using.

    Now I've just read in the widgets readme:

    - themes
    - classic
    | functions.php (optional)
    \ sidebar.php (optional)
    - default
    | functions.php (optional)
    \ sidebar.php (optional)

    These themes are optional how do I activate them?

    Ash

  • ashconnor
    Member
    Posted 3 years ago #

    OK I've found out that editing widgets.php in the widgets plugin folder works.

    But the image is not showing just RSS which links to feed correctly.

    <?php wp_list_cats("sort_column=name&optioncount=$c&hierarchical=$h&feed=RSS&feed_image=classic/feed-icon-16x16.jpg"); ?>

    Ash

  • Chris_K
    Administrator
    Posted 3 years ago #

    Experiment with changing
    classic/feed-icon-16x16.jpg
    to point to where the image truly is.

    If your theme is "classic" and that's where you put the feed-icon, you may want to remove "classic/" from that location. Or specify the fully qualified path as something like http://mydomain.com/wp-content/theme/classic/feed-icon-16x16.jpg

    Hopefully that'll help a bit.

  • ashconnor
    Member
    Posted 3 years ago #

    That works thanks for your time I appreciate it.

    Ash

  • xinfo
    Member
    Posted 3 years ago #

    hey

    even i looking for this for a long time well i like to know 1,can i show only rss category ?(not along with category )
    2,what are other format avaliable in rss out put

  • xinfo
    Member
    Posted 3 years ago #

    sorry to digg the old post well i applied this code in my side bar

    <h2>Categories</h2>

    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0&feed=RSS&feed_image=full_url_to_feed_img'); ?>

    well work fine only in the home page , if i visit other pages(like category,sigle post,about what ever ) image dosn't show up but it work fine only in index page any suggestion

  • whooami
    Member
    Posted 3 years ago #

    use the full URL to the feed image, not the relative path.

  • xinfo
    Member
    Posted 3 years ago #

    thanks a lot its working

  • duzins
    Member
    Posted 3 years ago #

    I'm just trying to figure out, in the sidebar widgets plugin, where to insert the string. I know 'where I want the categories to show up', but that's not specific enough. I'd be thrilled just to see them now, but all I see is the categories as they were before all my attempts at beautifying them. I can't even get them to show 'rss' like the others are talking about here.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags