occupynet/sandy — pull request #4 by radgeek (2012-11-19 18:52:07+00:00)
Title: shortcode enhancements

As promised, allow [location-cards] to take some flexible query parameters

[location-cards with="State" of="NJ"]

returns cards that have "NJ" in the State column.

[location-cards with="State" of="NJ/PA"]

returns cards that have either "NJ" OR "PA" in the State column.

[location-cards with="ROWID" of="64"]

returns the card with row ID #64. (For some reason, Google API won't allow you to query for matching against a set of row IDs; so you can only use this for one single card.)

[location-cards with="State" of="NJ" using="foo"]

returns cards that have "NJ" in the State column, using the card-foo.php template instead of the defaults, card-inline.php or card.php.