- This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Generic’ is closed to new topics and replies.
Events Made Easy › Forums › Generic › Custom filtering (ajax or not)
Hi,
I wonder if someone have implemented some custom filtering to the events list. Something like:
In a sport camp event list:
filter by year, filter by gender, filter by price where you can filter:
2016 and male and under 300€
Or you could define different category filters:
gender filter, age filter,…
So you could say: A camp on 2016 for girls under 14.
Cheers,
David
Take a look at the category option to the eme_events shortcode:
category limits the events shown to those of a certain category ID. You can specify multiple categories for AND and OR limitations: “1,3” for events in category 1 OR 3, “1+3” for events in category 1 AND 3. Use the literal ‘none’ if you want to filter on events without category: “1,none” would mean to show events in category 1 or without category.
Yes, this is from the admin perspective to filter what I want to show in the events list, but i was talking about the user/visitor point of view.
I’m a visitor that wants to filter the events list page (all events), so clicking in the different dropdown in a filter bar or something I can filter whatever:
Age Dropdown, gender dropdown, month dropdown, price dropdown
Could I create a dropdown only with gender categories (male/female)? and then another dropdown with age (10-12/13-15/16-18)?
Thanks in advance!!
D.
Currently the eme_filter shortcode allows you to filter on categories, but only 1 category selection box is taken into account (although you can filter on multiple categories).
So you could mimic the eme_filter form yourself, create your own category dropdown boxes and via jquery fill in the needed value for the category post variable (called eme_cat_filter btw)