Organizers

Organizers

Organizers add-on display grouped and alphabetized list of all the organizers.It also display total active events and total organizers.

 

Installation

You can install this plugin same way as installing the WP Event Manager so please refer installation guide of the WP Event Manager or refer to this Installing Plugins Guide.

During the plugin activation process, plugin will not create any table or any meta entry in the database.Once activated you’ll be able to use the form shortcode.

 

The Shortcode Setup

Create a new page, name it something along the lines of “Event Organizers” and page slug must be “event-organizers” and then inside the content area add the shortcode:

It is best to insert the shortcode into the ‘text’ view of the visual editor to ensure it gets formatted correctly.

The Shortcode Setup

 

You can also add shortcode to template file, as shown in below example template name is “Organizers Template”. You can bind/assign this template to created page with help of “Page Attributes” section.

You can also use the following single organizer shortcode to display organizer’s details.

The single organizer shortcode [event_single_organizer] shortcode takes the following arguments.

  • organizer_name which contains the organizer name.
  • per_page which control the total events per page.
  • show_pagination which control the pagination whether show or not.

You can also use the following action for displaying organizer details when click on organizer logo at single event listing page.

 

Single Organizer Details

When you click on any single organizer from the lists of all the organizers which listed by the shortcode [event_organizers], will give following output at the frontend side:

 

Single Organizer Details

 

Single Organizer Details

 

Advanced: Overriding/Customizing the Template Files

For overriding or customization template files can be found in the wp-event-manager-organizers/templates/ directory. To override a template file, first you need to create directory “wp-event-manager-organizers” under your theme folder and copy the template file to “/wp-content/yourtheme/wp-event-manager-organizers/” directory. Your theme will use all the template files from the “/wp-content/yourtheme/wp-event-manager-organizers/” directory instead of the plugin’s template file (/wp-content/plugins/wp-event-manager-organizers/).

  • single-organizer.php which contains the single organizer details.
  • content-organizers.php which display grouped and alphabetized list of all the organizers.
  • content-no-organizers-found.php which controls the message when no any organizer found.

Remember: if you have overrided template file and plugin frequently updating then you need to sync template file with new updates from the plugin’s template file for better functionality and new features.