Single post
Vizou Events Manager – Templates
Override the default event listing template
- Copy vizou-events.php from the plugin’s templates folder
- Create a folder called vizou-events in your theme (or child theme) directory
- Add vizou-events-list.php to the vizou-events folder and edit the template to suit –keep a backup in case you break it!
- Upload the new vizou-events folder and its contents to your theme in wp-content/themes/yourtheme.
Override the default single event template
Follow the same steps as above, and add vizou-single-event.php to your vizou-events folder.
Template tags
You can use these in your theme’s custom list or single template.
- vizou_event_date() – Displays the event’s start date
- vizou_event_end_date() – Displays the event’s end date (for multi-day events)
- vizou_event_time() – Displays the event’s time
- vizou_event_artist() – Displays the event’s artist with optional link
- vizou_event_venue() – Displays the event’s venue with optional link
- vizou_event_venue_street() – Displays the venue street
- vizou_event_venue_city() – Displays the venue city
- vizou_event_venue_province() – Displays the venue province
- vizou_event_venue_country() – Displays the venue country
- vizou_event_notes() – Displays the event description/notes
- vizou_event_status() – Displays the event status (if not “Active”)
- vizou_event_ticket_button() – Displays the tickets button with link
- vizou_event_ticket_url() – Displays the tickets button with link
- vizou_event_tour() – Displays tour name