I added the events list shortcode to our homepage [ESPRESSO_EVENTS limit=1 show_title=false]. https://nsaoregon.org/ Is it possible to remove the event counter from this section? I would like the featured image, excerpt, calendar info and “View Details” button to be the only thing that shows up here.
Go to your WP dashboard -> Appearance -> additional CSS or you can put it in your child theme css.
in your case
.ee-event-datetimes-ul {
display: none;
}
But we strongly suggest to put a custom class there.
You can do this by using css_class
[ESPRESSO_EVENTS limit=1 show_title=false css_class=my-custom-class]
because, if there’s no custom class all element that has ee-event-datetimes-ul will be affected.
If you use css_class, you can now target it by
.my-custom-class .ee-event-datetimes-ul {
display: none;
}
If you only plan one event, in that page, you can also create a category for that event, then put that event in that category and make the code like this.
[ESPRESSO_EVENTS category_slug=special] will do the trick.
thanks
Viewing 3 reply threads
The support post ‘Removing event counter from 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.
Support forum for Event Espresso 3 and Event Espresso 4.