Could you tell me the exact shortcode I’d use to enter the Event Registration End Date into my themes template files please? I’ve found this ‘registration_end’ in your shortcode template variables, but not sure exactly what code I’d use. I don’t want a label or anything, I just want a way to post the end date.
You could add this code to your registration_page_display.php template file around line 44.
<?php echo “Registration ends on: ” . $reg_end_date; ?>
Be sure to move that file and the registration_page.php file to your wp-content/uploads/espresso/templates directory to prevent them from being overwritten during and upgrade.
Many thanks for that. I’ve already copied my template files to the uploads folder, as I’ve made some quite significant layout changes to the registration_page_display.php file – you have just completed the final change id like to make by giving me the correct piece of code.
Thanks very much for taking time out of your day to help me out.
Ahh you legend. That did the job nicely. Thanks, Josh.
Andrew
Viewing 7 reply threads
The support post ‘How Can I Insert the Registration End Date Into my Template Files?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.