rss in sidebar without widgets (4 posts)

  1. stradivaribe
    Posted 9 years ago #

    Hi guys. I'm unwidgetizing my theme, because its crappy with widgets. (Rounded).
    the RSS widgets available when I have the widgets turned on..how do I put that in my sidebar without widgets? I have categories, blogroll, etc, using those php calls. How do I put a rss link list from last.fm or something in my sidebar?



  2. Adam Brown
    Posted 9 years ago #

    I assume you're not actually trying to "put a rss link" into your sidebar, but to actually parse the RSS feed, like the RSS widget does.

    Take a look in widgets.php for function widget_rss() or something like that. Copy that code into your sidebar with whatever modifications are necessary (e.g. replacing the calls to get_option with defined variables).

  3. praisingfool
    Posted 9 years ago #

    These php files are absolute greek to me, for the most part. I'd like to do the same thing, but I can't figure out what part of the code to add to my sidebar. Any help would be greatly appreciated.

  4. drmike
    Posted 9 years ago #

    There's an example in the codex:


Topic Closed

This topic has been closed to new replies.

About this Topic