Posted: May 7, 2018 at 10:20 am
|
I have applied the calendar to this page: https://aim.institute/calendar/ and I have used the Venue view shortcode: Show events from a specific event venue on the calendar and placed the venue ID number from Venues section under Management. But the Calendar is showing events for all Venues, not just ones marked for this specific Venue. |
Hi there, We’ve received your request for priority support. We’ll investigate this right now and follow up with an update. |
|
|
Also is it possible to show two different Venues on one calendar? |
Hi again, I found why the calendar wasn’t filtering venues. The reason was because the parameter within the shortcode contained errors. Here’s the correct syntax for displaying events from Venue 3036:
This isn’t possible out of the box, however if I remember correctly there’s a filter hook that makes this possible with some custom PHP programming. I can look into adding a filter function that will allow a comma-separated list of Venue IDs for specifying two or more venues on the calendar. |
|
|
Great, thanks Josh. Yes, if you can let me know about the comma-seperated list to allow multiple Venue ID’s that would be great. Really my goal is to show all of my Venues on once calendar, except for the “AIM Institute PTE” venue, it is the only private course offering. |
It might be simpler and a more efficient query to just exclude the one venue instead. |
|
OK I added some code to your site’s “Site specific code for aim.institute” plugin that alters the calendar so it filters out events from the “AIM Institute PTE” venue. |
|
|
Wow, thank you very much! This is perfect. If I need to add another venue to be excluded where is the code you added? Thanks again |
It’s in the “Site specific code for aim.institute” plugin. That’s located in your site’s wp-content/plugins/aim-institute/aim-institute-customizations.php file. The line of code that specifies the venue ID is: |
|
The support post ‘Event Calendar Venue Refinement’ 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.