Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 How Can I Insert the Registration End Date Into my Template Files? | Event Espresso - Staging Server
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.