Support

Home Forums Events Calendar Add-on event_category_id=xx,yy,zz doesn't limit the display to the category

event_category_id=xx,yy,zz doesn't limit the display to the category

Posted: September 7, 2021 at 3:19 pm

Viewing 5 reply threads


haerzchlopfaehebamme

September 7, 2021 at 3:19 pm

Hi Tony,
please excuse me having one more question:
When I display the event calendar using this shortcode:
[ESPRESSO_CALENDAR cal_view=basicWeek event_category_id=xx,yy,zz]
the filter dropdown shows all categories instead of only the three categories set.
Same for the category legend, where I was expecting the limitation as well.
Looking forward to learn how to set this up this correctly.
Best,
Lukas


haerzchlopfaehebamme

September 13, 2021 at 5:20 am

This reply has been marked as private.


Seth Shoultes

  • Support Staff

September 14, 2021 at 7:11 am

Hi again,

Can you please share a link to your calendar page so that we can take a look?


haerzchlopfaehebamme

September 14, 2021 at 7:19 am

This reply has been marked as private.


Tony

  • Support Staff

September 15, 2021 at 6:55 am

Turns out the filters on the calendar aren’t limited by the shortcode parameters so it is currently expected that they show all categories.

We can add a hook into the calendar that will allow you to hook in and filter the terms used by that section based on the shortcode parameters. I’ve created a pull request for this to be included in the next version of the calendar which is currently under review.


haerzchlopfaehebamme

September 15, 2021 at 10:14 am

Hi Tony,
thanks for considering this as a feature for the next version as well.
I don’t ask you when the next version is planned to be released…
Best,
Lukas

Viewing 5 reply threads

The support post ‘event_category_id=xx,yy,zz doesn't limit the display to the category’ 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