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 Remove Remaining Spaces: Unlimited text | Event Espresso - Staging Server
Hi, I want to remove the “Remaining Spaces: Unlimited” and “Maximum Spaces: 99999” if there is no space limit entered for an event in the Event Details page. I want the Remaining Spaces and Maximum Spaces to show if someone puts in a limit, but to not show if someone doesn’t. How can I do this? Thanks!
Hi Jonathan, this will remove the spaces available text completely regardless of whether someone puts in a limit or not. I’m looking for a solution that will remove the spaces available text only if someone doesn’t put a limit on spaces. I would think this would require some conditional PHP code? Could you please let me know how I can accomplish this? Thanks!
The variable you could use in event_list_display.php template is $reg_limit. You can wrap where it normally displays Available spaces with something like:
if ($reg_limit < 99999) {
// Available spaces code goes here
}
The support post ‘Remove Remaining Spaces: Unlimited text’ 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.