Events

Description

Events allows events such as webinars or conferences to be created via a custom post type; categories, excerpt, details, start and end dates and times and a featured image are all supported.

In the options set defaults for the widget and shortcode.

Multiple widgets can be created, each assigned to display a category; settings for title, image size and limit for number of events to list can be set per widget.

The event shortcode accepts three parameters:

  • slug to select specific event.
  • width to set the size of the featured image.
  • height to set the size of the featured image.

Shortcode usage is [event slug="december-2021" width=150 height=150]; all parameters are optional and will use the defaults set via the settings page.

The events shortcode accepts four parameters:

  • category to restrict the output to the selected category.
  • width to set the size of the featured image.
  • height to set the size of the featured image.
  • limit to restrict the number of events to display.

Shortcode usage is [events category="webinars" width=150 height=150 limit=5]; all parameters are optional and will use the defaults set via the settings page.

Installation Instructions

  • Download the plugin from GitHub.
  • Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel.
  • Activate the plugin.
  • Configure relevant settings via the settings page in the admin control panel (azurecurve menu).

Screenshots

  1. Create new event in the custom post type.
  2. Add widget to widget area, select category and amend defaults if necessary.
  3. Widget displaying events in sidebar.
  4. Page showing output of events shortcode.

Frequently Asked Questions

Can I translate this plugin?

Yes, the .pot file is in the plugins languages folder and can also be downloaded from the plugin page on https://development.azurecurve.co.uk; if you do translate this plugin, please sent the .po and .mo files to translations@azurecurve.co.uk for inclusion in the next version (full credit will be given).

Is this plugin compatible with both WordPress and ClassicPress?

This plugin is developed for ClassicPress, but will likely work on WordPress.

Changelog

Version 1.1.1

  • Remove debug code.

Version 1.1.0

  • Add no event found message.
  • Add option to display widget only when events found.
  • Add function to handle multilevel default options correctly.
  • Fix bug with default category not working when adding widget.

Version 1.0.1

  • Update screenshots.

Version 1.0.0

  • Initial release.

About azurecurve

azurecurve was one of the first plugin developers to start developing for ClassicPress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin by CodePotent for fully integrated, no hassle, updates.

Some of the top plugins available from azurecurve are: