Show the date range for recurring events.

Home Forums Calendar Products Events Calendar PRO Show the date range for recurring events.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1003508

    I would like to display the date range for a multi-day event in list view. Currently multi-day events only show the first day time of the event and then notes that it is a recurring event.

    #1003874
    Nico
    Member

    Howdy @resolutionsnorthwest,

    Welcome to our support forums and thanks for reaching out to us! Hopefully I can help you out on this one 🙂

    We are going to use the solution Barry provided for another customer. It’s a simple code snippet that you need to paste in the functions.php file of your theme – that file is located at ‘wp-content/themes/your_theme/’. The code is the following:


    add_filter( 'tribe_events_event_schedule_details', 'custom_schedule_details' );

    function custom_schedule_details() {
    return tribe_get_start_date() . ' until ' . tribe_get_end_date();
    }

    Please let me know if you can manage to make it work,
    Best,
    Nico

    #1003989

    Where do I add this in the functions.php file? at the top? does it matter?

    #1003997
    Nico
    Member

    Hi @resolutionsnorthwest,

    Thanks for following up on this.

    I guess that shouldn’t make any difference but just in case paste it in the bottom of the file.

    Please let me know if it did the trick,
    Best,
    Nico

    #1008674
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Show the date range for recurring events.’ is closed to new replies.