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
Hiding certain fields from the events list | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Hiding certain fields from the events list

Hiding certain fields from the events list

Posted: July 9, 2013 at 11:43 pm

Viewing 1 reply thread


Jennifer Benn

July 9, 2013 at 11:43 pm

Hi

I have a very simple requirement. I would like to display the events list / event categories, showing only the event title, date and time.

Please let me know what I should do?

Regards
Jenny


Dean

  • Support Staff

July 10, 2013 at 12:23 am

Hi,

In the Template Setings, make sure “Display short descriptions in the event listings?” is set to No. You may also want to set “Display featured images in the event list and registration pages?” to No.

Then you will need to add some CSS to your themes style.css file or a plugin such as My Custom CSS:

.event_price { display:none;}
.spaces-available {display:none; }

That will hide the price and available spaces on the event list page.

Adding in a time is a little more complex but still releatively easy.

Copy the event-espresso/templates/event_list.php and event-espresso/templates/event_list_display.php over to wp-content/uploads/espresso/templates.

In that folder edit the event_list_display.php and find the date section (approx line 75).

After that add this code to show the event start time:

<p id="event_time-<?php echo $event_id ?>"><span class="section-title"><?php _e('Time:', 'event_espresso'); ?></span>  <?php echo $event->start_time; ?> 
Viewing 1 reply thread

The support post ‘Hiding certain fields from the events list’ 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