Multiple Events on One Day Listings

Home Forums Calendar Products Events Calendar PRO Multiple Events on One Day Listings

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25431
    Laurel
    Member

    Hello, I’ve noticed that when one day contains multiple events, the date and time info only shows once in the events lists view. I am trying to figure out how to have the date and time info show on every listing. Here is the site I am working on: http://thefirehousespace.org/events/upcoming/

    Notice the two events on Sept 21. Only one automatically lists “September 21, 2012 8:00 pm” and the other was added manually in the post. Is there a way for it to show automatically for both? Thanks so much!

    #25480
    Jonah
    Participant

    Hi Laurel,

    Sure, you can do this. You’d need to modify the list view to accomplish this. Make a copy of /wp-content/plugins/the-events-calendar/views/list.php and place in an ‘events’ folder in your theme. Then find lines 31-39 – there is various conditional logic here used to determine how to display the start/end dates for events and whether or not to group this for events that are on the same day. Use that code for reference to create whatever you want to but an easy modification to get what you want might be to remove those lines – 31-39 – and then replace with:

    
    

    That will display the start date for all the events in the list.

    Does that help?

    – Jonah

    #25481
    Jonah
    Participant

    Ooops, code got mangled. Use this instead: http://snippi.com/s/mgry4dt

    #977804
    Support Droid
    Keymaster

    This 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Multiple Events on One Day Listings’ is closed to new replies.