5.4.2 Released

Posted on May 21, 2013

We’re currently going through some outstanding issues that got set aside whilst pushing out changes related to tax price calculations and Multiple Bookings features in Pro. We have a pretty big list, so it’ll be spread across a few updates, but meanwhile you’ll also see some cool additions as well!

This update is a first step, and contains three pretty cool improvements:

Google Maps is responsive-capable

Maps was always responsive actually, you just needed to add some minor CSS rules to use percentages instead of fixed-pixel width and height dimensions. We say ‘responsive-capable’ because it still isn’t responsive by default, because we haven’t changed the default formats for events and locations yet (that will follow). However, all you need to do now to make a map respnsive is use percentages in your placeholders or shortcodes, for exampls:

These two will create a global locations map or single location map which stretches as wide as possible. If you resize your browser window (or view it in a mobile), the map will be resized accordingly. You can also assign these dimensions in your Settings > Formatting > Maps area, which now contain default values in the event you don’t supply dimensions (currently 400px by 300px).

Better Taxonomy Filtering

We’ve standardized how you can search for both event tags and categories. Previously, you could only search by category IDs as well as negative IDs, yet with tags you could search with tag names or IDs, but no negatives. That was inconsistent, so we’ve now made both work the same way, with all the benefits.

You can now search by ID, names, use negatives and a mixture of all three! For example:

[events_list category=”featured,1,2,-3,-hidden”]

Will search events with categories featured and ids 1 and 2, but will not include events containing the hidden or id 3 categories. Nice!

Automatic Custom Taxonomy Detection

Along with the above, we’ve also gone one step further to make things consistent. Whilst adding taxonomies to events and locations is really easy in WordPress, thanks to the custom taxonomy and post type systems, one drawback was that they didn’t incorporate into our shortcodes and other searching PHP functions. Well, that is now sorted too!

Any taxonomy associated with an Event or Location can now be searched for in your shortcode, for example: