Support

Home Forums Event Espresso Premium FILTER EVENT STATUS

FILTER EVENT STATUS

Posted: October 21, 2014 at 3:52 am


Ferdie Santiago

October 21, 2014 at 3:52 am

Hi Good Day!

i would like to create a function that will view/filter all the upcoming events that is not expired. is this possible? if yes, can you help us find which tables and fields to use for this function. Thanks!

i would appreciate any help or prompt message.
PLEASE THANKS.


Dean

October 21, 2014 at 4:16 am

Hi Ferdie,

Is this for the front end event list? Or the widget?

Are you wanting to filter them before they are displayed or allow the user to filter them?


Ferdie Santiago

October 21, 2014 at 4:46 am

Yes this is for front end event list.

I would like to know which tables and fields i should use in order to create a query that will filter all events that are not expired.


Josh

  • Support Staff

October 21, 2014 at 8:45 am

Hi Ferdie,

I can recommend having a look at EE4’s EES_Espresso_Events class (found in EES_Espresso_Events.shortcode.php). It makes use of a show_expired shortcode attribute. If you need to include more details (or filter by more statuses) in the event details list, there is additional documentation here as well:

http://developer.eventespresso.com/docs/ee-model-objects-and-custom-post-types/


Ferdie Santiago

October 22, 2014 at 2:45 am

thank you for the reply josh and dean.
ive already found out how to display all upcoming events.

case closed!

The support post ‘FILTER EVENT STATUS’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Ferdie Santiago 4 years, 8 months ago ago

Topic Tags

Tagged: , , ,

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!