• I’m wanting to display different RSS feeds created with Yahoo Pipes in a sidebar of a buddypress install based upon the option selected in a user field.

    What would be the best way to code this kind of an if statement? I assume I’d be using php to create a plugin that would accomplish something like this…

    If userfield = A, then display A RSS feed.
    else B, then display B RSS feed,
    else C, then display C RSS feed,
    etc.

    I’m gaining more experience with PHP all of the time, but this is a bit over my head at this point because I’ve never written code to check a SQL database before.

    Thanks in advance!

  • The topic ‘If statement to determine RSS feed to show in sidebar based upon user field…’ is closed to new replies.