Support

Home Forums Event Espresso Premium Hide a category from the event list

Hide a category from the event list

Posted: July 23, 2012 at 1:07 am

Viewing 1 reply thread


Ingrid Schroder

July 23, 2012 at 1:07 am

Hi guys,

1) I’d like to hide the ‘Online Yoga Teacher Training’ category & event from the event listing page and the Calendar:
http://yogasurfingretreats.com/wptest/wordpress/event-registration/

We need this event and category to remain current so the registration form is active, but don’t want it to appear in the events listing.

2) We would also prefer that no ‘Date’ is listed for this as it is an ongoing event so the dates are irrelevant.

Cheers,
Ingrid


Josh

  • Support Staff

July 23, 2012 at 7:16 am

Hi Ingrid,

The event_list and espresso_calendar category parameters do not have a filter to exclude a specific category at this time. I can suggest creating a new category, and assigning the events you’d like to appear on a page by using the [EVENT_LIST] category parameter on a separate page (for the event list), and add the category parameter for the calendar. Note that the [EVENT_LIST] shortcode should not replace the [ESPRESSO_EVENTS] shortcode. See the shortcode documentation for more info: https://eventespresso.com/wiki/shortcodes-template-variables/
Calendar shortcode documentation can be read here: https://eventespresso.com/wiki/calendar/
Date entries can be selectively hidden with CSS. As an example, this will hide the date from the list for an event with the ID of 1:

#event_date-1 {display:none;}
Viewing 1 reply thread

The support post ‘Hide a category from the event 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