I'm trying to write a shortcode filter that will only display results when they match one of two values. I can get the shortcode function to work properly with 1 value, as follows:
[userlist list=5 filter=show join_date=2012-03]
(join_date is the column I'm trying to filter by.)
Is it possible to filter a column as for two values, ie 2012-04,2012-03? ie
[userlist list=5 filter=show join_date=2012-04,2012-03]
[userlist list=5 filter=show join_date="2012-04,2012-03"]
Neither of these work, does it have to in an array format? (I'm actually using this in a template so can code full PHP if that's what would be necessary.)
Anyone able to do this successfully?