Hey there,Ā Marc-Antoine! Nice to see you again. š
That’s a good question and the answer may not be that easy. I think the rectangular images look great in the single event event because it covers the full top area of the post.
At the same time, that rectangle might look funny in the calendar view and a square could work best, depending on your layout and preferences. In that case, you could use the default WordPress “thumbnail” size, which is 150×150 square.
To do that, you will need to override theĀ list/single-event.php template:
- Make a copy of the template. It is located in /plugins/the-events-calendar/views/list/single-event.php
- Make a new folder in your theme calledĀ tribe-events
- Make a new folder in that one calledĀ list
- Drop the copied template in that last folder
Now that the template is in the theme directory, it can be modified to suit your needs. In this case, replace this:
[php]<?php echo tribe_event_featured_image( null, ‘medium’ ) ?>[/php]
…with this:
[php]<?php echo tribe_event_featured_image( null, ‘thumbnail’ ) ?>[/php]
Will this help you get started? Please let me know. š
Cheers!
Geoff