Support

Home Forums Event Espresso Premium Way to create event search?

Way to create event search?

Posted: June 24, 2020 at 12:16 am


KGM_Adm

June 24, 2020 at 12:16 am

I want to create a search box where users can select multiple categories from a drop-down menu and it shows the events that fall under them. Additionally is it possible to also have search by words?


Tony

  • Support Staff

June 24, 2020 at 6:04 am

Hi there,

We don’t have any outputs that will fit your requirements, the closest we have for EE3 is the custom templates, table view template here:

https://eventespresso.com/product/custom-templates/

Or the category accordion template:

https://eventespresso.com/product/espresso-template-category-accordion/

You would need some custom development to create a template matching the above requirements.


KGM_Adm

June 24, 2020 at 3:38 pm

I am looking to custom develop the feature. Would this post apply to EE3?

Also thee event categories link don’t seem to work, I have a category caled Ages 8-11 with Unique Category Identifier: 8-11 but when I try to go to http://kidsgreatminds.org/courses/8-11 it says page not found.


Tony

  • Support Staff

June 25, 2020 at 6:00 am

I am looking to custom develop the feature. Would this post apply to EE3?

No, that thread applies to EE4.

EE4 events are a custom post type and so work in a vary similar way to ‘normal’ posts in WP.

EE3 events are totally separate and categories set on EE3 events are categories within EE3, not WordPress.

Also thee event categories link don’t seem to work, I have a category caled Ages 8-11 with Unique Category Identifier: 8-11 but when I try to go to http://kidsgreatminds.org/courses/8-11 it says page not found.

Those wont work on EE3, but even if you were using EE4 that’s the wrong URL, it would be:

http://kidsgreatminds.org/event-category/8-11/
(Again, the above won’t work with EE3)

To pull the categories from EE3 you would need something like:

$sql = "SELECT * FROM " . EVENTS_CATEGORY_TABLE;
$temp_cats = $wpdb->get_results($sql);

Then pull events using the identifier from the above.

The easest example of this is looking within the custom templates add-on for EE3.

You must be logged in to reply to this support post. Sign In or Register for an Account

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: publish

Updated by  Tony 2 weeks ago ago

Topic Tags

Notifications

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