- Get Started
- User Guide
- How to
- ** How to use event_type category to do more
- How to Activate EventON
- How To Allow Users to Submit Events and Create an Events Listing Page
- How to apply a patch fix
- How to Bulk Update Language Translations Using the Import/Export Tool
- How to cancel addon subscription before auto renew
- How to Deactivate EventON Addon Licenses
- How To Display or Hide the Live Now Icon
- How to Enable Auto-updates for EventON
- How to find your EventON license key
- How to Fix a Broken Sidebar Caused by the EventON Widget
- How To Hide Blank Rows On the Calendar EventTop
- How To Set Up and Use the Filter Bar on Calendars
- How to Set Up Health Guidelines for EventON and Extend It
- How to Setup & Use Custom Fields for Events
- How to setup & use multi data types
- How to Setup Basic Paypal for Events
- How to show past events
- How to show your calendar on external sites using an iFrame
- How To Turn on Sort Options On Your Calendar
- How To Upgrade Your EventON Addon License
- How to Use Hashtags to Link to Event Sections
- How to Use Single Event Data Values
- How to Use the EventCard Designer
- How To Use the EventON Shortcode Executor(ESE) Widget
- How To Use The EventTop Designer
- How To Use the ICS Import Tool
- How to Use Virtual Visible Event End Time for Events with Limited Visibility but Extended Durations
- Using an SMTP Mail Plugin To Solve Email Delivery Issues in EventON
- General
- Basic System Requirements for EventON
- Best Practices Before Doing an Addon Update
- How to Delete Old Events from WordPress Trash Automatically
- How To Upgrade From Lite to Full Version
- I am confused about Event Type categories
- What is the calendar filter
- Why am I unable to proceed with the checkout for addon purchases?
- Troubleshooting
- ** What to check if eventON is not working
- How to debug for PHP code errors
- How to debug Javascript interactive issues
- How to find if an issue is coming from eventON
- How to fix font awesome icons not working on your site
- How to fix style override issues
- Increasing the WordPress Memory Limit
- Troubleshooting Using the Health Check Plugin
- Why is Location Google Map grayed out or not displayed on Event Card
- Virtual Events
- Frequently Asked Questions
- Code snippets
- CODE: To add additional healthcare guidelines
- How to add new social share icons
- How to change “events” slug & rewrites
- How to customize the eventtop date format
- How to hook into eventTop
- How to increase event type category count
- How to load EventON scripts to a page
- How to show additional custom data in the eventCard
- CODEX
- Other
- Tricks and Tips
- ** Override CSS in your calendar
- How to create events that goes past midnight
- How to customize Events archive page
- How to customize location and organizer archive page
- How to override event colors with event type colors
- How to show featured image on eventTop
- How to show various information on the eventTop
- How to translate EventON with WPML on the front-end
- One solution for /events slug not working
- Various Creative Ways to Use Multi Data Types
- APIs
- Addons
- Action User
- ActionUser Paid Feature Events
- ActionUser Plus
- Advent Calendar
- Bookings
- Countdown
- CSV Importer
- DailyView
- Dynamic Pricing
- Event API
- Event Dynamic Pricing
- Event Lists
- Event Map
- Event Photos
- Event Reviewer
- Event Search
- Event Seats
- Event Slider
- Event Tickets
- Auto Complete Ticket Order
- Auto re-stocking refunded, cancelled or failed orders
- Changelog for Event Tickets
- CODE: How to send Emails as Bcc
- How to add additional data to confirmation email
- How to add additional fields at checkout
- How to add additional fields to download attendees CSV file
- How to customize ticket email template
- How to manage capacity separately for repeat events
- How to set up Event Tickets
- How to set up variable prices for Tickets
- How To Switch From WooCommerce Blocks to Shortcode-Based Cart & Checkout Pages
- Event Wishlist
- Filters Plus
- FullCal
- ICS Importer
- Include Anything
- Lists & Items
- Moon Data
- PDFer
- Polls
- QR Code
- Reminders
- Repeat Customizer
- RSS Feed
- RSVP Events
- RSVP Events Invitees
- RSVP Events Waitlist
- RSVP Points
- Single Events
- Speakers & Schedule
- Subscriber
- Sync Events
- Variations & Options
- Virtual Plus
- Weather
- WeeklyView
- YearlyView
- Policies
- Server Related
- Shortcode
- Translation & Languages
How to customize single event page
Last Updated: February 20, 2025
Single events are part of main eventON plugin.
Step 1: Figure out which template file you want the single event page layout to look like.
If you want the single event page to look like a regular page in your theme you will need page.php file.
If you want the single event page to look like an individual blog post you will need single.php file.
Step 2:

Create a folder called eventon in your theme folder. So the file path would look like this: wp-content/themes/your-theme-name/eventon
Step 3:
FROM you theme (../wp-content/themes/{your-theme}) copy the file you choose on step 1 INTO this /eventon folder. (Make sure after copying the file exist in both places)
Step 4: Rename the file to single-ajde_events.php
Rename the copied file in ../wp-content/themes/{your-theme}/eventon/ to single-ajde_events.php
Step 5: Open this file from a text editor.
You can either copy this file to your computer folder and edit it as mentioned in below steps and upload or some ftp clients allow you to edit files and resave it back to the same place in your server. Which ever you choose, open this file in a text editor. For windows Notepad++ is great for this and for mac sublime text is awesome.
Step 6: Update the file code
In this file (single.php or page.php) you should see a php code that grabs content for this template page – inside the wordpress loop. Which could differ from theme to theme, so I can not say what this will look like. It could be something like the below variations according to WordPress default theme:
<?php the_content()?>
<?php echo get_the_content();?>Go ahead and comment this line out or remove it. (by adding “//” infront of this line will comment it out)
NOTE: if you do not see this content php code in the template file look for get_template_part() in this case you will need to open the template part file and copy that content and paste it instead of this function.
Or you can comment out get_template_part() sections and see how that would look after following below steps to insert proper single event functions.
Step 7: Insert single event template hooks
There are several (4) action hooks you have to place in this page for single event page to show correct (On eventON v2.5.4)
On the top of the page above any header functions (eg. get_header()) paste the below PHP code and remove get_header() function from the template.
do_action('eventon_before_main_content');Right before the while loop place the below code
<?php do_action('eventon_single_content_wrapper');?>Now instead of the page content functions you have commented out on step 6 add the below code
do_action('eventon_single_content');Where ever you want to show the sidebar for single events you can place the below code. The sidebar for single events can be turned on from eventon settings > Single Events. Once enabled you can add widgets to this sidebar from WP-admin > Appearance > Widgets page.
<?php do_action('eventon_single_sidebar'); ?>Now after while loop place the below code
<?php do_action('eventon_single_after_loop'); ?>Now look for footer function like get_footer(); and remove this. Instead place the below code:
<?php do_action('eventon_after_main_content'); ?>Once all done the page code should look similar to the eventon single page template code
<?php do_action('eventon_before_main_content');?>
<div id='main'>
<div class='evo_page_body'>
<?php do_action('eventon_single_content_wrapper');?>
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-content">
<?php
do_action('eventon_single_content');
?>
</div><!-- .entry-content -->
<footer class="entry-meta">
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post -->
<?php endwhile; ?>
<?php do_action('eventon_single_sidebar'); ?>
<?php do_action('eventon_single_after_loop'); ?>
</div><!-- #primary -->
<div class="clear"></div>
</div>
<?php do_action('eventon_after_main_content'); ?>NOTE: Make sure you are not pasting this inside a php code block (or else it will break) Paste this code outside a php block or paste just the function if you are pasting this inside a php block. Inside the WordPress loop.
Step 8:
Rest of the code for this page, you can add edit other codes and those would show up in single events page after you save and update to web host.
Trouble shooting Tips:
If your single event page does not show the new edits.
— Clear cache on your website and your webhost.
If you get 404 page not found error
— go to settings > permalink and click save changes to refresh permalinks
Did this article help you?