[Plugin: The Events Calendar] Grid View and Sidebar Widget conflict in Theme
Previous to upgrading WP to 3.1 I had installed The Event Calendar, but had to hack the code to get both the sidebar Widget and the main content Gridview calendar to work correctly. Essentially the loop was being called twice (I believe) and corrupting the month being displayed. I “think” my original fix was to store the first call for posts to a variable and then restore it after the gridview, but it’s been a while and I forget the exact fix (although I think it’s still posted on the forum here somewhere).
I did the WP update and then decided to try upgrading TEC. Well exactly the same problem occurred. I can’t use the same fix because the new TEC code is done differently and I’m not really an expert coder.
I’ve had to revert the main content calendar to List View (which works), but essentially, when I have the Widget on the sidebar AND the Grid View shows, then the calendar will get stuck on the current month, even if you try to navigate to a different month.
Disable the Widget and the Grid View works fine.
Here is where the GridView should show on the site:
Any ideas on what I should do to make sure the two calls to the Loop don’t conflict?
Any help is greatly appreciate!
- The topic ‘[Plugin: The Events Calendar] Grid View and Sidebar Widget conflict in Theme’ is closed to new replies.