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 to display number of available seats on the event registration page | Event Espresso - Staging Server
We’ve been working on including the Available Seats in our registration page all weekend. The following code is the best we have come up with. Can anyone explain why it causes an error?
The following code was taken from the event_list_display file, where it works fine. I have only closed the php tags to make it fit in the registration_page_display file.` = $reg_limit) {
?>
<p id="available_spaces-“>
Hi, I don’t know how to edit my post. I see the preview is below the reply box now. I was looking for a preview button.
The code above looks like it came out like gibberish. I’m not sure if anyone can tell what’s going on with it, but it worked to display the Available Spaces, as we wanted. I just had to delete a small section that was causing problems. I now have the Available Seats listed in the form, but everything below the Available Seats in the form is gone.
I can’t tell in the below preview if my code is showing right or not. I’ve put it in a notepad in order to remove formatting, and also put line breaks in it that are not actually there, in order to get it to fit in the post field properly. And I’ve used the tag instead of the brackets graphic. I'll post it again without the line breaks, if this doesn't make it readable.
The entire file is there to look at. The problem is the rest of the Registration Form not showing after the Available Seats. I apologize for all the messy posts above.
The support post ‘How to display number of available seats on the event registration page’ 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.