Home › Forums › Calendar Products › Events Calendar PRO › After Updating Calendar disappeared from the page.
- This topic has 11 replies, 2 voices, and was last updated 10 years, 5 months ago by
Geoff.
-
AuthorPosts
-
December 17, 2015 at 11:26 am #1043099
cgcs
ParticipantMy WP version is 4.2.2 using custom theme.
I updated the Events Calendar to Version 4.0.2,
the Events Calendar PRO to Version 4.0.2
Calendar is not on the left bar anymore.December 18, 2015 at 8:30 am #1043638Geoff
MemberHi @cgcs and welcome to the forums!
Sorry for the trouble here — is the issue with the calendar widget? If so, which widget is it, the Event List or the Mini Calendar? Are you able to see or add a widget to the sidebar when a default WordPress theme (like Twenty Fifteen) is installed and active?
As a first course of action, will you please follow the steps outlined here and let me know what you find? That will be super helpful to help us figure what’s happening.
Let’s start there and see what we find.
Thanks!
GeoffDecember 18, 2015 at 11:33 am #1043741cgcs
ParticipantGeoff,
We have trouble with Mini Calendar on the sidebar.
It was working there before I updated plugins.
When I switch to Twenty Thirteen theme Mini Calendar appears on the page.
Since we are using the custom themes is there a way to add mini calendar to the page with the code?Vlad
December 21, 2015 at 8:15 am #1044751Geoff
MemberHey Vlad, thanks for following up!
Does your theme have a different set of widget areas registered than Twenty Thirteen? You may need to add the widget to the sidebars specifically registered to the custom theme in order for them to display.
That said, we certainly do have a shortcode for the mini calendar and you can add it to any page or post that way.
Cheers!
GeoffDecember 23, 2015 at 11:47 am #1046056cgcs
ParticipantLooks like the widget is added to custom theme
(when go to theme –>customize there is The Event Calendar.)December 23, 2015 at 11:54 am #1046062Geoff
MemberJust to clarify: when you say:
Calendar is not on the left bar anymore.
…are you referring to the front end of your site? In other words, you do not see the calendar in the sidebar in your site’s pages?
Or are you referring to the left bar in the WordPress Customizer?
Thanks!
GeoffDecember 23, 2015 at 12:00 pm #1046063cgcs
ParticipantMini calendar was only on Events pages.
http://www.global.asc.upenn.edu/events/December 23, 2015 at 12:07 pm #1046064Geoff
MemberSorry, I’m still having some trouble following…
A few questions:
- Was the mini calendar on the /events page in the left sidebar of the page and now it is not?
- Is there a widget area for the /events page when you go to Appearance > Widgets from the WordPress dashboard?
- Have you tried switching your calendar template? You can do this by heading to Events > Settings > Display and changing the template to one of your themes templates instead of the default event template.
Thanks!
GeoffDecember 24, 2015 at 6:30 am #1046394cgcs
ParticipantGeoff,
digging a bit more I found a template file that creates left sidebar for events page.
It adds mini calendar with the following code:
<?php
$calendarOptions = array(‘title’ => null, ‘count’ => 0);
the_widget(‘TribeEventsMiniCalendarWidget’, $calendarOptions);
?>
Is this code correct or something changed?
Thank you.Vlad
-
This reply was modified 10 years, 5 months ago by
cgcs.
December 24, 2015 at 8:34 am #1046411Geoff
MemberHi Vlad,
Nice find!
Yeah, that code seems a little outdated since our 4.0 release.
The issue I see is with namespacing the Tribe Events class. I’m not sure this will work, but hopefully it at least gets you started:
<?php $calendarOptions = array(‘title’ => null, ‘count’ => 0); the_widget(‘Tribe__Events__Pro__Mini_Calendar_Widget’, $calendarOptions); ?>Hopefully that does the trick but, if not, you can refer to the this file, which is where the mini widget is created:
plugins/events-pro/src/Tribe/Mini_Calendar_Widget.phpCheers!
GeoffDecember 24, 2015 at 8:48 am #1046419cgcs
ParticipantGeoff,
It did the trick,
mini calendar is back.
Thanks for prompt response.Vlad
December 24, 2015 at 10:01 am #1046427Geoff
MemberMy pleasure! That’s awesome to hear all is working well. Thanks a ton and happy holidays!
Geoff
-
AuthorPosts
- The topic ‘After Updating Calendar disappeared from the page.’ is closed to new replies.
