Add the sample code below to your child theme's functions.php file or in a site specific plugin to add a message before the event details area.
<?php
//* Do NOT include the opening php tag
//* Add a message before the event details area
add_action( 'AHEE_event_details_before_the_content', 'ee_custom_messaging_before_event_details' );
function ee_custom_messaging_before_event_details() {
echo 'You are very smart and good looking! We are excited to have you at our event.';
}
Add the sample code below to your child theme's functions.php file or in a site specific plugin to add a message after the event details area.
<?php
//* Do NOT include the opening php tag
//* Add a message after the event details area
add_action( 'AHEE_event_details_after_the_content', 'ee_custom_messaging_after_event_details' );
function ee_custom_messaging_after_event_details() {
echo 'You are very smart and good looking! We are excited to have you at our event.';
}
References:
https://eventespresso.com/topic/single-event-template-question-espresso_get_template_part/
http://eventespresso.com/topic/adding-a-custom-message-after-the-event-details-before-ticket-details/#post-164284
https://eventespresso.com/topic/hooks-for-customize-single-event-page/
Check out more improvements for Event Espresso