Support

Home Forums Event Espresso Premium Search only active events

Search only active events

Posted: November 29, 2013 at 7:22 am


Cristi Constantin

November 29, 2013 at 7:22 am

How can I search only active events? Something like
[EVENT_SEARCH show_expired=”false”]
I have seen that by default, the results display everything.

Thanks.


Cristi Constantin

November 29, 2013 at 8:41 am

Also, the ‘Search’ button was not translated in Romanian (despite a full translation on GlotPress).


Dean

December 2, 2013 at 4:12 am

Hi,

You could do something like this https://gist.github.com/Apina/7748039 whihc will exclude the expired events.

The Search button is not currently translatable, so you would need to edit it in the shortcode.

I will raise a ticket to resolve the translation and request a more formal exclude expired from results option.


Cristi Constantin

December 2, 2013 at 6:07 am

Works ok, thanks. Although, I fail to understand why you don’t box into your product these kind of features, as the code is already written and proved to be correct…

The support post ‘Search only active events’ 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