Hi All, I’m fairly new to omeka development, but wondering what the best way is to add arguments to shortcodes in existing plugins? I’ve found the add_shortcode function, but it doesn’t seem to do what I want.
Here’s my issue: we have a bunch of exhibits that we have grouped by tags, and I would like to use a shortcode on a simple page to list all exhibits with a certain tag, e.g. [exhibits tags=Buddhism]. Basically, I’d like to add an if (isset($args['tags']))
block to ExhibitFunctions.php, but am not sure how to do that properly from my own plugin rather than hacking on the official one.
Thanks for any help you could offer a novice!