WordPress.org

Ready to get started?Download WordPress

Forums

rss in sidebar without widgets (4 posts)

  1. stradivaribe
    Member
    Posted 7 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?

    Thanks.

    Website:
    http://lovethemusicreviews.com

  2. Adam Brown
    Member
    Posted 7 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
    Member
    Posted 7 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
    Member
    Posted 7 years ago #

    There's an example in the codex:

    Function_Reference/fetch_rss

Topic Closed

This topic has been closed to new replies.

About this Topic