Support

Home Forums Event Espresso Premium Can I toggle Categories?

Can I toggle Categories?

Posted: March 15, 2018 at 1:13 pm


jimdisc

March 15, 2018 at 1:13 pm

I will have 2 different categories. Will I be able to allow front end filtering or is there a toggle to display either category?


Josh

  • Support Staff

March 15, 2018 at 1:27 pm

Hi Jim,

You can install a plugin (code available from here) and that will add a widget that includes an Event category selector.


jimdisc

March 16, 2018 at 6:07 am

Hello and thanks. I do not quite understand where to get and install the plugin. Your link is code. How would I use your code?
Jim


Josh

  • Support Staff

March 16, 2018 at 7:06 am

Hi Jim,

You can add the code to a functions plugin. This guide shows how.


jimdisc

March 19, 2018 at 9:43 am

It worked great! Thanks. One thing though, How would I add a selection for all categories? I currently have CLA events and Community events but no way to see all events.
Thanks,
Jim


Josh

  • Support Staff

March 19, 2018 at 2:36 pm

Hi Jim,

I updated the code example to include a selection to see all events:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/widgets/jf_ee_event_category_widget.php

The support post ‘Can I toggle Categories?’ 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