WordPress - All-in-One Event Calendar generator
In this article
With this dynamic slide generator you can show the contents of your events.
Tutorial
- 1
-
Creating a new dynamic slide
To get started, go to any Slider Settings page and add a new dynamic slide. Choose
All-in-One Event Calendar
. - 2
-
Configuring the generator
Set up your generator. Choose the settings you want. Popular options you probably want to configure: category where your content will be pulled from, the number of slides you want to have, the ordering of the content.
You can also click on the View Records button to see the data you'll be creating your slide with.
When you're done, click on
Add
. - 3
-
Editing the dynamic slide
After you saved your generator, you'll be redirected to the Slide Editor to set up the look of your slide. You can create your content by using variables.
Not sure what are the variables or how to use them? Learn how to work with variables.
Configuration
You can use these options to set what you want your generator to show.
Filter
Category
You can select the categories from where you want the events.
Tag
You can select tags to filter your events from the selected categories.
Recurring events
You can choose recurring or not recurring events here. If you choose recurring events the Started and Ended settings will be ignored, since there are multiple starting and ending dates. The "Order by" option will use the very first date of this event.
But with these two options you could handle them in two separate dynamic slides, just the recurring events slide can't be handled by dates, as their multiple dates wouldn't allow to give an order or to decide wether or not they have started or ended.
Started
You can choose to only show those events, which haven't started yet, or already starter, or all.
Ended
You can choose to only show those events, which haven't ended yet, or already ended, or all.
Create custom date variables
You can write any date format in separate lines, and new variables will be created for them.
Translate your custom date variables
You can translate your date variables, if your server didn't set it up php functions to display them on your language. Write the original text, like Monday
then two | signs, and the text you want it to be translated to, for example Montag
. Together: Monday||Montag
.
Date function
This function will be used to format these custom date variables. Usually the date_i18n
works, but if your date will be off a little bit, then try out the other one.
Order
Field
The field which decides the ordering of your content.
- Event start date
- Event end date
- Creation date
- Modification date
- Title
Order
The order direction.
- Ascending
- Descending
Generator Settings
Learn about the Generator Settings
at the Generator Settings documentation.
Variables
These are the available variables you can use to build your dynamic slide content in the Slide Editor.
Not sure what are the variables or how to use them? Learn how to work with variables.
- title - The title of the event.
- description - The description of the event.
- image - The featured image of the event.
- thumbnail - The thumbnail of the event's featured image.
- url - Url to the event.
- start_date - The starting date of the event. The timezone and the format is based on the WordPress' Settings → General → Timezone and Date format setting.
- start_time - The starting time of the event. The timezone and the format is based on the WordPress' Settings → General → Timezone and Time format setting.
- end_date - The ending date of the event. The timezone and the format is based on the WordPress' Settings → General → Timezone and Date format setting.
- end_time - The ending time of the event. The timezone and the format is based on the WordPress' Settings → General → Timezone and Time format setting.
- start - The starting date and time for the event (This had to be made, because WordPress' date_i18n function sometimes returns wrong value at the previous start and end times.)
- end - The ending date and time for the event (This had to be made, because WordPress' date_i18n function sometimes returns wrong value at the previous start and end times.)
- ID - The ID of the event.
- timezone_name - The name of the event's timezone.
- venue - The Venue name of the event's location.
- country - The country of the event's location.
- address - The address of the event's location.
- city - The city of the event's location.
- province - The province of the event's location.
- postal_code - The postal code of the event's location.
- contact_name - The Contact name of the event's organizer.
- contact_phone - The phone number of the event's organizer.
- contact_email - The email address of the event's organizer.
- contact_url - The Website URL of the event's organizer.
- cost - The cost of the event.
- ticket_url - The Buy Tickets URL of the event.
- latitude - The latitude of the event.
- longitude - The longitude of the event.