Support

Home Forums Event Espresso Premium Event Calendar shortcode with category

Event Calendar shortcode with category

Posted: September 27, 2019 at 5:50 am


DStoeckl

September 27, 2019 at 5:50 am

Hi,
I use the event calendar shortcode in this form:
[ESPRESSO_CALENDAR event_category_id=17]

And … there are many of the events missing in the calendara, although they have this category. All events are available and aren’t expired.

I deactived Advanced custom fields, and the shortcode doesn’t show all events, only a few.

What can be the reason?

Thanks,
Daniela


Tony

  • Support Staff

September 27, 2019 at 5:59 am

Hi there,

With advanced custom fields disabled your site is throwing a fatal error so I can’t take a look, can you re-enable that plugin?

Also, do you have an example of an event that should be displayed but is not?


DStoeckl

October 10, 2019 at 2:18 am

Hi,

I reactivated ACF.
Please have a look, to the website.

Thank you,
Daniela


Tony

  • Support Staff

October 10, 2019 at 3:53 am

Thank you.

However, I can’t find the EE event calendar on your site.

the /termine/ page of the site linked to your license is not using the EE calendar so I’m not sure where I should be looking, can you link me to the Calendar page, please?

(You can mark your reply as private if preferred).


DStoeckl

October 10, 2019 at 8:15 am

https://www.navisana.de/_ds_test-kalender/

There are 16 events assigened to this category – date between october and december.
But we can see only one.

Best regard, Daniela


Josh

  • Support Staff

October 10, 2019 at 1:48 pm

Hi,

Are you sure that 17 is the correct ID? If I send a REST API request for events from category 17, only one upcoming event is returned:
https://www.navisana.de/wp-json/ee/v4.8.36/events?where%5BTerm_Taxonomy.term_id%5D=17&include=EVT_name,Datetime.DTT_EVT_start

May I ask what’s the name of the category for those events?


Tony

  • Support Staff

October 10, 2019 at 2:00 pm

That’s using [ESPRESSO_CALENDAR event_category_id=17]?

event_category_id 17 is the ‘yoga’ term within the espresso_event_categories taxonomy.

That term (aka event category) has 2 events assigned to it, I can see that from using the REST API here:

https://www.navisana.de/wp-json/ee/v4.8.36/term_taxonomies/17/events

Event 2882 has no upcoming or active datetimes, so will not show on the calendar unless show_expired is set to true.

Event 2896 is the event currently showing on the calendar.

May I ask where are you setting the 16 events to be in this category? Can you add a screenshot showing that please?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


DStoeckl

October 10, 2019 at 2:50 pm

πŸ™‚ πŸ™‚ πŸ™‚

I looked in the wrong column!!!

I don’t know why. I think I was very very tired.

Best regard,
Daniela


DStoeckl

October 10, 2019 at 2:51 pm

Thank you for your help!

The support post ‘Event Calendar shortcode with 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