Organizers
The Organizer plugin is used to display a group of organizers in a list in alphabetical order. The plugin comes with an Alphabetic filtering option.
Installing The Plugin
The installation process is the same for all the addons, offered by WP Event Manager. They can be both installed automatically and manually.
- Automatic Installation : You can install the plugin from the backend of your WordPress. Click Here to see how you can install the plugin automatically.
- Manual Installation : You can also install the plugin manually using SFTP or FTP tools. Click Here to see how you can install the plugin manually.
Watch the entire video for better understanding.
How To Get The Organizers List Using Shortcodes?
There are two different methods to display an Organizer’s list on your website.
- First one is using Shortcode.
- Second one is using the Page template.
How to get an organizer’s list using shortcodes?
- Go to WP-admin >> Pages >> Add New.
- Add a suitable title to it.
- Add the below mentioned shortcode into the text area of the description box.
[event_organizer]
- Publish the page.
How To Get an Organizer’s List Using The Page Template?
Follow the below-mentioned steps to get an Organizers List with the Page Template:
- Create a new .php file into the root folder of your theme.
- Add a suitable title to it.
- Add the below-mentioned code into the file and save.
/* * Template Name: Organizer Template * @since: 1.0.0 */ <?php get_header(); ?> <?php echo do_shortcode('[event_organizer]');?> <?php get_footer(); ?>
- Go to WP-admin >> Pages >> Add New.
- Select that template.
- Publish the page. That’s it!🙂
Here, you will get the “Organizer Template” option for Template under the “Page Attributes” section at the right bottom side of the page.
For better understanding, check the screenshot below:
Frontend View Of The Organizer’s List Page
This is how the organizer’s list will look at the front end of your website.
How To Get Single Organizer’s Details?
It is possible with the Organizer addon to view the details of a single organizer. Follow the below-mentioned steps:
- Go to WP-admin >> Pages >> Add New.
- Add a suitable title to the page.
- Add the below-mentioned shortcode into the text area of the description box.Only one parameter in shortcode is “id” of event [single_event_organizer id=”event_id”]:
[single_event_organizer id="370"]
- Publish the page.
When you click on any single organizer name from the lists of all the organizers which listed by the shortcode [event_organizers] and on organizer logo displaying on the event detail page, will give you following output at the frontend side:
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.
- Create a directory “wp-event-manager-organizers” under your theme folder.
- 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 displays a grouped and alphabetized list of all the organizers.
- content-no-organizers-found.php which controls the message when no organizer is found.
Remember: If you have overridden 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.