Event Detail Page

Event Detail Page

Event detail page, you can view the details of a selected event, such as the event title, event type, event location, event start date & time, event end date & time, event description, etc. You can also view organizer information on event detail page.

This is how you will get event detail page:

 

 

Following data is shown by the single page template:

  • Event Title
  • Event Type
  • Event Location, linked to a google map
  • Event Posted Date
  • Event Description
  • Organizer information (title, tagline, logo, website link and other social media network urls)
  • Social Sharing Button

 

Customization

If you face any problem with your event detail page, or want to add and remove more information by the theme, you can create a new template file at the theme side (../wp-content/themes/yourtheme/single-event_listing.php) named single-event_listing.php based on single.php and you can edit this file and add more information.

You can make new template file as copy from single.php file and rename it with name single-event_listing.php . It will look like below given example.

<?php

/* 
 * event detail pages use your themes single.php template and expand the content area to include other information.
 *
 * Template Name: Your File Name Template
 * @theme Name: Your Theme Name

 */ 

get_header(); 

<section>

    <div class="wpem-main">
    
       <div class="wpem-row">   
        
        <!-- Start the Loop -->
        <?php while ( have_posts() ) : the_post(); ?>
            <?php  the_content(); ?>            
        <?php endwhile; ?>
        <!-- End the Loop -->           
                    
     </div>
     
    </div>
    
</section>

get_footer();
?>