• Resolved haty94

    (@haty94)


    Is there any way for me to add the event end date when displaying the events on a page.

    Currently the start date is displayed, however ideally I would need it to display “Start date – End date” showing users when the event starts AND ends.

    Any ideas or something I’ve missed?

    Kind regards
    Haythem

Viewing 1 replies (of 1 total)
  • Hi @haty94,
    Where you want to show on single event page or inside listing .
    At single event page it is showing start date and end date inside When & Where section.
    Inside listing it is showing only start date because of less amount of space available in listing.

    If you want to show end date then you can easily add it by overriding template content-event_listing.php to your theme and add below code where you want to show end date.

    $timestamp = strtotime(get_event_end_date()); if($timestamp!=null): echo date("M j, Y",$timestamp).','.get_event_end_time(); endif;

    I hope it helps.

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Event end date’ is closed to new replies.