Enabling Full Template Support

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

  1. Inside your theme, add the following code:
  1. add_theme_support( 'event-manager-templates' );
  1. Go to admin panel >> Settings >> Permalinks >> save.
  2. 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
    • Related Articles

    • Create or pick categories from Free/ Core WP Event manager

      Events are classified into various types based on the kind of visitors they have. Visitors come from different backgrounds. That is why an event organizer or admin must ensure that they make a lot of event categories available to their clients. This ...
    • Create or pick categories from Free/ Core WP Event manager

      Events are classified into various types based on the kind of visitors they have. Visitors come from different backgrounds. That is why an event organizer or admin must ensure that they make a lot of event categories available to their clients. This ...
    • Updating WP Event Manager

      Automatic Update WP Event Manager always strives to achieve perfection in every way and that is why we constantly update our plugins so that you can enjoy their innovative features. Here are the steps that you need to take to update WP Event Manager: ...
    • Installation of WP Event Manager

      Automatic Installation of FREE WP Event Manager Installing WP Event Manager is just a matter of a few clicks. You can add WP Event Manager to your website by using the dashboard offered to you at the backend of the CMS. To install the plugin ...
    • Dealing with problematic themes

      Due to highly customized or poorly coded single.php templates, some themes do not work normally in the single event pages. To avoid this issue WP Event Manager requires the following things, Content being output via the_content() function. For more ...