Home › Forums › Calendar Products › Events Calendar PRO › Conflict with Theme
- This topic has 20 replies, 8 voices, and was last updated 8 years, 9 months ago by Support Droid.
-
AuthorPosts
-
July 22, 2012 at 9:55 pm #22545JonahParticipant
Hi David,
We had another user provide a potential fix for this that let’s you still use the other template options. To try it out, make a copy of /wp-content/plugins/the-events-calendar/views/table.php and place in an ‘events’ folder in your theme. Then paste in the following code before the $monthView variable code on line 32:
if( !$eventPosts ) {
$eventPosts = new stdClass();
$eventPosts->EventStartDate = '2012-'. $month .'-01 00:00:00';
$eventPosts->EventEndDate = '2012-'. $month .'-01 00:00:00';
$eventPosts = array( $eventPosts );
}//place the above code before this...
$monthView = tribe_sort_by_month( $eventPosts, $tribe_ecp->date );
Try that out and let me know how it goes.
Cheers,
JonahJuly 26, 2012 at 6:34 pm #22811David MaloneyParticipantThanks for the info – I have things working for the most part and am afraid to break anything. Once I get past a few other issues I’ll give it a try.
Thanks again.
July 27, 2012 at 10:22 am #22848RobMemberSounds good, David! Just a heads up that Jonah is out on sabbatical the next month, but if you follow-up in this thread once you jump back into it I will take over in trying to help with any lingering issues. Cheers.
August 20, 2012 at 4:41 am #23823HenningParticipantHi there guys,
I had the same issue with my current theme and the auto-insertion of paragraph tags. Thumbs up for Jonah’s solution, worked like charm.
August 21, 2012 at 1:17 am #23861Joyce GraceMemberVery glad to hear it Henning, thanks!
July 7, 2015 at 6:25 am #977571Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Conflict with Theme’ is closed to new replies.