Home Forums Event Espresso Premium Set default featured image for category

Set default featured image for category

Posted: April 15, 2014 at 8:01 am


April 15, 2014 at 8:01 am

Is it possible to set a default featured image for specific event categories? That way, if a user does not upload a featured image, the event automatically uses the default image. If so, where would I put the code for this functionality?


April 17, 2014 at 3:54 am


Well from the sounds of things you would need to edit the template files:

Event list

Single event

if you use Multiple Event Registration

If you edit them they should be copied over to wp-content/uploads/espresso/templates, and they need to go in pairs event if you only edit one.

Then you will need to modify them to check if there is a featured image and what the category is and then insert the appropriate image based on the results.

If you need assistance with the PHP code required, you could contact a developer. We have a list of recommended developers here –

The support post ‘Set default featured image for category’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Dean 6 years, 2 months ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!