Customize start date display in Events List Advanced Widget

Home Forums Calendar Products Events Calendar PRO Customize start date display in Events List Advanced Widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19006
    Russell Weller
    Participant

    Hi all. I’m trying to customize the look of the start date in the widget. To do it, I need the widget to output the start month and day, each surrounded by span tags with custom classes. By default, the start date contains the month, day, year and time. I’ve been able to get rid of the time, but haven’t had luck with anything else.
    In events-advanced-list-load-widget-display.php on line 45 and 46:
    $output = ”;
    echo tribe_get_start_date( $post->ID, $start );
    I changed $start to $date which gets rid of the time in the widget. And I’ve tried to parse the individual parts of the date by using $date(‘m’) and $date(‘d’), but it breaks the site when I reload.
    Any suggestions?

    #19022
    Jonah
    Participant

    Hey Russell, take a look at my response here: https://theeventscalendar.com/support/forums/topic/separate-date-and-time-in-events-advanced-list-load-widget-display-php-file/

    That should help but let me know if you’re still running in trouble with this.

    Cheers,
    Jonah

    #976783
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Customize start date display in Events List Advanced Widget’ is closed to new replies.