Reply to: I’m having trouble displaying events from Events and Meetings (event_type and event_type_2) in a single calendar on my page using shortcode

I understand what you are saying about the wordpress taxonomy.

Yes, this makes perfect sense. So instead of an “AND”, the query needs an “OR” such as

select columns
from tableName
where event_type in (list_of_event_type_ids) OR event_type_2 in (list_of_event_type_2_ids);

In your post of #90056, I wonder what would happen if that was changed the “AND” to an “OR”. I may try that and see what happens.

Reply to: Shortcode to open single page events in new window

Hi Lelia,

Yes, you can add ux_val=”4″ parameter in the shortcode, which will open events in their single page.

You can also familiarize with available shortcodes and parameters in our documentation below:

https://docs.myeventon.com/documentations/shortcode-guide/

Let us know if you need help with anything else.

Thanks

Reply to: I’m having trouble displaying events from Events and Meetings (event_type and event_type_2) in a single calendar on my page using shortcode

I see in your image the circled “AND” in the PHP code but where does that translate to the MySQL query meaning what does the MySQL statement look like? Are you able to dump the query being executed and running that within MySQL?

I haven’t touched any code in your plugin so if the shortcode is supposed to support displaying events from event_type and event_type_2 within the same weeklyview, why isn’t my implementation not working?

The only other item I can come up with is that we have the weekly and the full_cal add-ons so it is possible a function in one of those add-ons is overwriting a variable? I’m just spit-balling ideas here. I’ve been developing myself for 18 years but I don’t not in PHP let alone WordPress implementation of PHP so I could be completely off basis here.