• Shane

    (@shaneoriordan)


    Hi there,

    I was wondering if it is possible to display an event image in the countdown timer?

    If not, would you consider this for a future update/release?

    Many thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Shane

    (@shaneoriordan)

    I see this feature was asked for nearly 2 years ago.

    https://www.ads-software.com/support/topic/featured-image-for-the-event/

    Plugin Support Jyoti Bhandari

    (@jyoti197)

    Hi @shaneoriordan,

    Thanks for using our plugin.
    Please add the custom code given below to the specific files to start displaying the event image.
    Go to countdown-for-the-events-calendar\includes\tecc-functions.PHP
    Add the below code on line number 40

    if ( tribe_event_featured_image($event_ID) ) {
    $image = tribe_event_featured_image( $event_ID, 'full', false );
    $ret .= '<div class="tecc-image-wrapper">';
    $ret .= $image;
    $ret .= '</div>';
    }

    Go to countdown-for-the-events-calendar\assets\css\countdown.css
    Add the below code on line number 111

    .tecc-image-wrapper .tribe-events-event-image{
      text-align: center;
      padding: 0;
      margin-top: 0.85em;
    }

    Thanks & Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Option to Display Event Image’ is closed to new replies.