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 Spaces Available Display Help Needed | Event Espresso - Staging Server
Then, tried this method of adding this to line 122 on the registration display page:
<?php echo do_shortcode(‘[ATTENDEE_NUMBERS event_id=’.$event_id.’ type=available_spaces]’) . ‘/’ . do_shortcode(‘[ATTENDEE_NUMBERS event_id=’.$event_id.’ type=reg_limit]’); ?>
It worked and showed up on the registration form, but there are 2 issues:
1. How do I add a phrase before it, like “Spaces Available”? I tried ad when I did the registration page appeared blank online.
2. I am wondering if attendees will see “Spaces Available: 12/12” and think there are 12 spaces still available. If they see 11/12 — they will understand, but seeing 12/12 might be confusing. Is there another shortcode that I can add to the above code that will also state “no spaces available” or “closed”?
Also noticed the registration layout and design changed based on this post: http://staging.eventespresso.com/topic/event-espresso-3-2-screenshots/, but the one we’re using looks like the old version (but the plugin was purchased after this post). Has the new layout version been released? Thanks.
Hi, tried the above code and the actual code as you have it written above is showing on the registration page.
Can you post the code you added in context in a pastebin so we can take a look?
Has the new layout version been released?
It hasn’t been released.
Viewing 4 reply threads
The support post ‘Spaces Available Display Help Needed’ 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.