How can we help?
Enabling Full Template Support
WP Event manager uses custom post types, therefore, post archives can be enabled and fully themed.
You can create template files for archives of events using WordPress Template Hierarchy.
Note: For the single event listings, WP Event Manager by default use single-event_listing.php.
Adding Theme Support
- Inside your theme, add the following code:
add_theme_support( 'event-manager-templates' );
- Go to admin panel >> Settings >> Permalinks >> save.
Custom Post Type archives will then be activated. Then you will see the even listings archive (by default) at yourdomain.com/events
Template Files
The WordPress Template Hierarchy will be utilized. Theme include following key template.
- archive-event_listing.php: Displaying Custom Post Type Templates
- taxonomy-event_listing_category.php: Displaying Custom Taxonomies
- taxonomy-event_listing_type.php: Displaying Template Hierarchy