Home › Forums › Calendar Products › Community Events › Displaying events in list view makes calendar look out of date
- This topic has 3 replies, 2 voices, and was last updated 10 years, 10 months ago by
Josh.
-
AuthorPosts
-
June 16, 2015 at 7:26 pm #969935
Niall
ParticipantHi-
I posted about this a little while ago and just tested the code snippet I was given – but it didn’t work when I pasted it into the functions.php of the site… The previous thread has since been closed out.
Original query is here: https://theeventscalendar.com/support/forums/topic/displaying-events-in-list-view-makes-calendar-look-out-of-date/
Basically, this is what we’re trying to resolve:
Let’s say an event runs from Feb 2015 – June 2015… during February the event appears under a heading that says “February 2015″ in month view (awesome). However, once February is over – the calendar still displays the “February 2015″ heading at the top of the month view, even though it could just remove the February heading and display the event under a “March 2015″ header. The calendar starts to look out of date if many events that run over several months are included. Ie. in June 2015, the first heading of the month list view will still be February 2015.
The site is currently running the free version of Events Calendar and I have just installed community events. (We’re also considering upgrading to PRO.)
Thanks! 🙂
June 17, 2015 at 8:37 am #970088Josh
ParticipantHey Niall,
Thanks for following up with us!
I just tested the snippet from the previous thread by adding it to the very bottom of my active theme’s “functions.php” file. Prior to adding the snippet, I noticed the issue you’re describing with my calendar’s list view (https://cloudup.com/cCDWsqOQ-Oa). After adding the snippet, the event that spans over several months now only shows within the current month on the view (https://cloudup.com/c_asIInzZGQ) rather than bringing back the month into this view when the event started.
Ensure that you have the snippet properly placed within your functions file and that it isn’t placed accidentally within another function or outside of the existing “<?php ?>” tags. Also, ensure that it is within the appropriate and active theme.
Let me know if this helps.
Thanks!
June 18, 2015 at 7:54 pm #971197Niall
ParticipantThanks – I hadn’t put it in the PHP container in the functions.php. Works perfectly now.
June 23, 2015 at 7:41 am #972178Josh
ParticipantHey Niall,
Awesome! I’m glad you were able to get this one resolved!
I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new thread.
Thanks!
-
AuthorPosts
- The topic ‘Displaying events in list view makes calendar look out of date’ is closed to new replies.
