Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #903912

    I have struggled with setting the size of Featured Images inside Single Events with Enfold for a while and although I did modify the single-events.php I found that adding this code to my child theme Functions.php to be much better.
    I am using Full but you can make it Square, or anything you want including re-defining your thumbnail sized followed by re-generating the thumbnails to the new sizes sitewide.

    // Change size of featured image on single events using post_thumbnail_size
    add_filter( 'post_thumbnail_size', 'ebwp_single_event_post_thumbnail_size');
    function ebwp_single_event_post_thumbnail_size($size) {
        if( !is_singular('tribe_events') ) {
        if( ! has_post_thumbnail() ) {
        $size = 'full'; // Change to your desired image size.
        return $size;

    Alternative, y if you want to hide the Featured Image in a Single Event you can add this to your Quick CSS

    .single-tribe_events .tribe-events-event-image {
    display: none;

    An unrelated helpful piece of code I also have in Functions.php for Events Calendar is this to reverse the order of past events.
    Not sure why this isn’t how it is out of the box

    // Changes past event views to reverse chronological order
    function tribe_past_reverse_chronological ($post_object) {
    	$past_ajax = (defined( 'DOING_AJAX' ) && DOING_AJAX && $_REQUEST['tribe_event_display'] === 'past') ? true : false;
    	if(tribe_is_past() || $past_ajax) {
    		$post_object = array_reverse($post_object);
    	return $post_object;
    add_filter('the_posts', 'tribe_past_reverse_chronological', 100);

    Hey Jon,

    Thank you for sharing! :)

    If you need further assistance please let us know.
    Best regards,


    millertimesites – Thank you! This is just what I was looking for and it works great!



    : Glad to know that you got what you are looking for! Thanks to @millertimesites. Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Events Calendar Pro Featured Image Size In Single Events’ is closed to new replies.