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
thresholds to determine spaces available display | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium thresholds to determine spaces available display

thresholds to determine spaces available display

Posted: June 6, 2013 at 4:30 pm

Viewing 1 reply thread


iaeonpac

June 6, 2013 at 4:30 pm

I have set the class .spaces-available {display: none;} as we do not want to show low numbers of places remaining. Rather than an ‘all or nothing’ approach is it possible to change the status of what is displayed depending on one or more thresholds being reached? e.g. something like:

>50 = [number or remaining places shown]

<= 49 >10 = [ text “some spaces remaining’]

<=10 >0 = [ text “final few’]

0 = [text “no places remaining”]


Dean

  • Support Staff

June 7, 2013 at 2:37 am

Hi,

Yes this is possible, but with PHP rather than CSS, so you would have to modify the event_list_display.php and registration_page_display.php templates witht he appropriate logic.

This should get you started but it is rough and we cannot support modifications – https://gist.github.com/Apina/65d8ed21addf4c067e41

Viewing 1 reply thread

The support post ‘thresholds to determine spaces available display’ 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.

Event Espresso - Staging Server