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 customize available spaces | Event Espresso - Staging Server
In the mean time I have crafted some code for you. This goes in the event_list_display.php at the same place (around line 94) and replaces the code there.
It works on a testing server but make sure you back things up before using it to be on the safe side, as it isn’t fully tested.
I’m not sure what to replace I only have 91 lines in my event_list_display.php
<?php
//This is the event list template page.
//This is a template file for displaying an event lsit on a page.
//There should be a copy of this file in your wp-content/uploads/espresso/ folder.
/*
* use the following shortcodes in a page or post:
* [EVENT_LIST]
* [EVENT_LIST limit=1]
* [EVENT_LIST show_expired=true]
* [EVENT_LIST show_deleted=true]
* [EVENT_LIST show_secondary=true]
* [EVENT_LIST show_recurrence=true]
* [EVENT_LIST category_identifier=your_category_identifier]
*
* Example:
* [EVENT_LIST limit=5 show_recurrence=true category_identifier=your_category_identifier]
*
*/
$first_event_instance = $events_group[0];
$first_event_excerpt = array_shift(explode('‘, html_entity_decode($first_event_instance[‘event_desc’])));
?>
<div id="event_data-” class=”event_data subpage_excerpt r event-data-display event-list-display event-display-boxes”>
<h2 id="event_title-" class="event_title">
1) :
//Show short descriptions
if ($first_event_excerpt != '' && isset($org_options['display_short_description_in_event_list']) && $org_options['display_short_description_in_event_list'] == 'Y') { ?>
$jaer = jQuery.noConflict();
<a href="#" onClick="$jaer('#date_picker_').slideDown('slow');$jaer(this).parent().slideUp('slow');return false;" class="register_date" id="register_date_">Register Now</a>
<div class="date_picker" id="date_picker_">
<?php foreach ($events_group as $e) :
$num_attendees = get_number_of_attendees_reg_limit($e['event_id'], 'num_attendees');//Get the number of attendees. Please visit http://staging.eventespresso.com/forums/?p=247 for available parameters for the get_number_of_attendees_reg_limit() function.
echo '';
if ($num_attendees >= $e['reg_limit']) :
echo '';
else :
echo '<a href="'.$e['registration_url'].'">';
endif;
if ($e['start_date'] != $e['end_date']) :
echo event_date_display($e['start_date'], 'F j, Y').'–'.event_date_display($e['end_date'], 'F j, Y');
else :
echo event_date_display($e['start_date'], 'l, F j, Y');
endif;
if ($num_attendees >= $e['reg_limit']) :
echo ' Sold Out <a href="'.get_option('siteurl').'/?page_id='.$e['event_page_id'].'&regevent_action=register&event_id='.$e['overflow_event_id'].'&name_of_event='.stripslashes_deep($e['event_name']).'">'.__('(Join Waiting List)').'</a>';
else :
echo '</a>';
endif;
echo '';
endforeach; ?>
= $events_group[0]['reg_limit']) : ?>
Sold Out <a href="/?page_id=&regevent_action=register&event_id=&name_of_event=" title=""></a>
<a href="" title=""></a>
I put a customiation request in. I’ll let you guys handle this as I’m having trouble getting the it to work.
Viewing 8 reply threads
The support post ‘customize available spaces’ 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.