Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ocfusa

    (@ocfusa)

    Hi. Is there no longer support for this plugin?
    Thanks.

    Yes there is support – I don’t know why I didn’t receive your emails.

    I will add your requests to my to do list.

    Hello! Decided to give this plugin a shot for a client’s site. Wanted to display the thumbnail. So, I altered the plugin code. NOTE: Any edits to the core plugin will be erased when updating.

    Essentially I just used WordPress’ built in functionality to display the thumbnail and altered the output the plugin builds. Pretty basic.

    Find the section:
    if ($posts && !$no_upcoming_events)

    This is the output the plugin builds if you have events in the system.

    Change the specific $output entry that begins
    $output .= '<h4 class="entry-title summary">

    to

    $output .= '<h4 class="entry-title summary">'.get_the_post_thumbnail($post_id, array(350, 350) ).'<a href="' . tribe_get_event_link() . '" rel="bookmark">' . get_the_title() . '</a></h4>';

    Now, this is set to pull a 350×350 thumbnail of the featured image. If you need something larger just adjust those values in the array.

    Thank you for your contribution @BluePrintAds. Something similar will be added in the next version.

    Regards,
    Ankit

    The plugin now includes both excerpt and thumbnail

    [ecs-list-events excerpt=’true’] //displays excerpt with length 100
    [ecs-list-events excerpt=’300′] //displays excerpt with length 300

    [ecs-list-events thumb=’true’] //displays post thumbnail in default thumbnail dimension from media settings.
    [ecs-list-events thumb=’true’ thumbwidth=’350′ thumbheight=’350′] //to modify the thumbnail dimensions

    Many thanks to Ankit Pokhrel for making this happen!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show Featured Image?’ is closed to new replies.