Creating a custom event search form

Creating a custom event search form

The [Events] shortcode is coded to pick up search_location and search_keywords variables from the query string. Because of this it’s easy to create a search form elsewhere on your site which posts to your events page.

Here is an example form:

 

Replace YOUR_EVENTS_PAGE_URL with the URL to your events page (assuming filters are enabled) and the form will function.