Support » Plugins » Call to undefined function: ujc_siderss()

  • Resolved freelantz


    I’ve installed the FirstRSS & SideRSS plugin and I’m having trouble getting any support.

    I’ve followed the install and usage instructions for the SideRSS plugin (for the sibebar) but I’m getting this:

    Call to undefined function: ujc_siderss()

    The plugin is activated and the function is in a file called sideRSS.php in my plugins/ujc_firstrss/

    What do I need to do to be able to call this function from my sidebar????

    I’d like to use this plugin because it appears very simple and functional (I’ve seen it in action on other blogs), but if I can’t get it working I’d like suggestions for another good sidebar rss aggregator. Solution to above problem is preferable.


Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    WordPress has built in functions for displaying basic RSS sidebars.

    This will display 10 items from a feed in an list of links, for example:

    include_once(ABSPATH . WPINC . '/rss.php');

    If you want more complex behavior you can code it yourself easily enough. Read this for more info:

    “…you can code it yourself easily enough”

    That’s easy for you to say 😉

    I tried your suggestion to pull in a technorati feed and it did indeed display the feed, but the format was incredible bad – a mess really.

    Any suggestions on my original error? This should be easy enough to figure out, should it not… my sidebar just can’t “see” the function.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    I have no idea about those plugins. I’ve never used them, because I’ve never needed to. WordPress has all the built in RSS functionality you really ever need.

    but the format was incredible bad – a mess really

    That really doesn’t tell me anything useful. Define “incredible bad”. Even better, what HTML does it produce? It’s infinitely customizable, but you do have to know HTML in the first place.

    A simple unordered list is what the wp_rss function produces. If that looks “incredible bad”, then I’d say you have a major CSS problem, because that’s pretty standard for putting a list of links in a sidebar, and I can’t believe a plugin would produce anything else by default.

    All I want is the Post Title… not the author, blog title, date, Technorati icon, etc. I can manage the HTML, that’s not the problem. I guess what I need to do is modify the wp_rss function, correct?

    Got it. I had to give myself a five minute crash course in RSS elements and then I removed the description item from the output of wp_rss, included one of my css classes, etc. I’m good to go.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Modifying wp_rss would not be the correct way to go. Copy it into your own code and modify it there instead. Better yet, look at the fetch_rss function and use that instead to make whatever you want to make:

    Modifying core code is always a bad idea. What happens when you upgrade?

    Thanks. I copied it into my own functions.php file. Working great.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Call to undefined function: ujc_siderss()’ is closed to new replies.