Home › Forums › Calendar Products › Events Calendar PRO › Display month view on single-venue page
- This topic has 5 replies, 2 voices, and was last updated 8 years, 4 months ago by
Kate.
-
AuthorPosts
-
December 1, 2017 at 3:31 pm #1397020
Kate
ParticipantWe need to be able to display a month view showing only the events for the venue at the top of the single-venue page. Is there a way to accomplish this? Thank you.
December 5, 2017 at 5:49 am #1398497Jennifer
KeymasterHi Kate,
Thanks for reaching out!
You can move the events to the top of the page by editing the template for the single venue page, found at wp-content/plugins/events-calendar-pro/src/views/pro/single-venue.php. You’ll want to copy/paste the following where you would like the events to display:
query_vars ); ?>
You’ll want to follow these instructions to copy the template into your child theme and edit it from there (instead of in the plugin files directly).
Changing the view is not quite so straightforward, but I would recommend taking a look at the tribe_venue_upcoming_events function found at /wp-content/plugins/events-calendar-pro/src/functions/template-tags/venue.php. We are limited in the amount of support that we can provide for customizations like this, but if you have any questions or get stuck with the code, please let me know! I’ll be happy to point you in the right direction.
Thanks,
Jennifer
December 5, 2017 at 2:38 pm #1399020Kate
ParticipantThank you for your reply. That solution places the event list view at the top of the single venue page, but what we’re looking to do is place a month view at the top of the single venue page. (Please see attachment.) Is there a way to accomplish this? Thank you.
December 11, 2017 at 9:18 am #1402971Jennifer
KeymasterHi Kate,
You could change the view with a customization. If you’d like to give it a shot, the tribe_venue_upcoming_events function would be a good place to start, or you could also customize the template directly (wp-content/plugins/events-calendar-pro/src/views/pro/single-venue.php). Our list of functions may also be helpful. Customizations like this are a bit outside the scope of support that we are able to provide here in the forums, but fix you get stuck with the code, please let me know! I’ll be happy to help point you in the right direction.
Thanks,
Jennifer
January 2, 2018 at 8:35 am #1416137Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Display month view on single-venue page’ is closed to new replies.
