Posted: July 10, 2018 at 1:26 pm
We are trying make some customizations to the event grid and the event list, but cannot figure out how to make the customizations.
For the event grid we would like to:
For the list template I need to add a custom image size of 1170 x 658 (16:9), I know how to create a custom image type, but don’t know how to include it in the short code.
Thanks for the help.
For the grid you’ll copy the
For example, to move the title and date below the image, you’ll add the following CSS:
For the list template, you’ll copy over the content-espresso_events-thumbnail.php from the EE4 plugin’s public/Espresso_Arabica_2014 directory into your active WordPress theme (a child theme is recommended). Then you’ll make your edits to pass in your custom image size (as an array if need be) to the wp_get_attachment_image_src() function there. More info in the WordPress developer documentation: