This release adds one of the most requested features: an event calendar widget. And some other cool improvements.

Event calendar

I receive a lot of requests for a simple event calendar widget that shows all upcoming events in the sidebar of the website. And now it’s here!

To use it:

  1. Go to the Theater settings in the WordPress admin.
  2. Select a page that will show your upcoming events.
  3. Add the Theater Calendar widget to your website.

 

The Theater Event Calendar widget in Twentyfourteen.

The Theater Calendar widget in Twentyfourteen.

You can also use the [[wpt_calendar]] shortcode to place the event calendar inside the content of a page or a post.

Easier event listings

I decided to make it easier to create a page with upcoming events. You no longer need to use the [[wpt_events]] shortcode.

You can set up and configure your event listing directly in the Theater settings screen:

Event listings setup

The listing also comes with pretty permalinks like:

  • www.theaterxyz.com/upcoming/comedy
  • www.theaterxyz.com/upcoming/2014/05
  • www.theaterxyz.com/upcoming/2014/05/23

As a bonus, you can now also paginate or group events by day. This is especially useful for theaters that have a lot of events within a single day (eg. cinemas).

Custom fields

All event listings now support custom fields.

Let’s say you used the Advanced Custom Fields plugin to add a custom field ‘composer’ to the productions. Enter a template like this in the Theater settings to include this field in your listings:

{{thumbnail}}{{title|permalink}}{{composer}}{{descriptions}}{{tickets}}

You can do the same with the shortcodes:

[[wpt_events]{{thumbnail}}{{title|permalink}}{{composer}}{{descriptions}}{{tickets}}[/wpt_events]]

This feature was submitted by Youri de Bondt through a pull request on GitHub. How cool is that!

Categories widgets

One last addition: a widget that shows all categories with upcoming events. You can use it as a way for visitors to navigate to your event listing.

Receive updates

Theater for WordPress is constantly being improved with new features and bugfixes. To receive updates whenever something new is added:

Need help?  Missing a feature?

Let me know on the forum or on GitHub.