Essential Grid Filter Issues

Hello,

I am using the Essential Grid plugin, to display a number of posts that have different groups of categories.

My posts represent students, so the categories are things like: age, gender, grade, school

My only issue is that since I have set it up to work with “multiple” filters, I am running into the problem where people can select multiple categories within each of these groups.

I would prefer it work by only allowing one filter per drop down. Because students can’t be multiple ages, or multiple genders, etc…

Is there a way to accomplish this?

Thanks!

Hi There,

Please take a look at this article: https://www.themepunch.com/essgrid-doc/category-filters/#filter-groups

An example of multiple filter: https://www.themepunch.com/multiple-filter-example/.

Hope it helps :slight_smile:

Hey Thai,

Thanks for the reply.

Sadly, this didn’t help. I am able to set up filters and multiple filters just fine.

The only problem is that when you add multiple filters, even if they are added as separate filters, there is no sense of grouping.

So, someone could go in and select “Ages 10-13” and “Ages 14-17” or “male” and “female” - but that doesn’t make sense because a student cannot be both a male and a female, or both between ages 10-13 and 14-17.

What I would like is that in each of the “drop downs” or “filter groups” I want them to only be able to select ONE filter per drop down menu.

Does this make more sense?

Thanks!

Hi There,

Thanks for your explanation.

First, you have to setup a child theme first: https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57

After that add the custom code from this article to your functions.php file locates in your child theme.

https://www.themepunch.com/faq/combine-and-with-or-for-category-relation-advanced/?

Don’t forget to replace the category ID with yours.

Hope that helps and thank you for understanding.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.