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 How do I remove the date field from my event listing page. | Event Espresso - Staging Server
I was able to remove the price from the event list with this code
/* hide the event price in the event list */ p.event_price {display:none;}
However I’m having trouble removing the Date in the events list. Does anyone have the code to do this? I’ve tried all kinds of variations similar to the above code replacing price with date. No luck though
The date is slightly problematic in that it uses a unique ID rather than a catch all class, so using CSS you would have to target them individually which wont work in the long run. I will raise a ticket to add something in for that in future versions.
In the meantime there are two ways to get around it.
1) You mention you don’t want the prices either so you could target the event-meta class and hide that
.event-meta { display:none; }
2) You can edit the event_list_display.php template file and remove the date section. Around line 75 you will see
simply remove or comment this out. If you change it this way, I would copy the event_list_display.php and the event_list.php files over to the uploads/espresso/templates folder and edit the file there.
Viewing 1 reply thread
The support post ‘How do I remove the date field from my event listing page.’ 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.
Post any questions about the language files, translating Event Espresso, or issues with our GlotPress site for translations here.