Hi all, I’ve come across this topic https://ww.wp.xz.cn/support/topic/shortcodes-event-types/ and i have to say: this is not solved.. at least not for me: I’m also trying to display a calendar via [em_events], which works, it displays all of my events. What I’m trying to achieve is only to display certain event-type-ids via [em_events types=”51,46,47″] within my calendar. The result is a page error. Am I confusing something…?
Here is a typical shortcode that I use to display my calendar: [em_events view=”month” types=”43,44,46,56,145,164″ upcoming=”1″ disable_filter=”0″] This works for my site.
what works is: [em_events view=”rows” disable_filter=”0″ types=”51,46,47″]
But I want to display a classic calendar-view, not rows.
what doesn’t work is: [em_events view=”month” disable_filter=”0″ types=”51,46,47″] or [em_events view=”week” disable_filter=”0″ types=”51,46,47″] or [em_events view=”listweek” disable_filter=”0″ types=”51,46,47″] or [em_events types=”51,46,47″]
I disabled some of my critical plugins like elementor and tried another theme. The problem persists.
This reply was modified 1 year, 4 months ago by massl.
@massl
Thank you for bringing this issue to our attention. We appreciate your feedback, and we want to assure you that we are committed to resolving this issue in our upcoming releases.
Your input is valuable to us, and we look forward to delivering an improved experience in the future.
If you are using a caching plugin, we suggest purging the cache and rechecking.
If the issue continues, please forward a screenshot of the backend event-type list, along with the page link where the issue occurs.
We will investigate promptly.
i did resave both, the working and the not working pages. problem persists.
as you might have noticed: i’m using elementor. i wasnt able to simply resave the broken page, because the elementor editor threw an error “Undefined property: WP_Error::$term_id”. I had to create a new site. When I try to edit this new site, the thrown error also persists (other sites are not affected).
Upon closer inspection of the shared shortcode [em_events types=”51,46,47″], it appears that the quotation marks around the event type IDs may not be correctly formatted.
Could you please manually update the shortcode to [em_events types="51,46,47"] and test again?