OpenAgenda / wordpress

Display customizable OpenAgenda calendars on your WordPress site
GNU General Public License v2.0
3 stars 2 forks source link

WP Shortcode filter for categories not working #27

Closed danana closed 1 year ago

danana commented 1 year ago

I am using the shortcode: [openagenda_filter_choice additional_field="test-champ-categories-differentes”] in the WP plugin but nothing shows up. I was able to add the map, calendar, search and keywords filter, but I am not able to bring in the categories. I tried using the parameter “field" and “additional_field" with no success. Can you help me with a piece of advice on how to do this?

coolturalia-wp

https://openagenda.com/coolturaliatest - UID: 95186839 My events categories are coming in this json: "test-field-categories-different”

coolturalia2

Thank you!

vincedubroeucq commented 1 year ago

Hello, The additional_field parameters only works when the field is set to additional_field. Try :

[openagenda_filter_choice field="additional_field" additional_field="test-champ-categories-differentes"]

That should work. Hope that helps !