Replace default event banner placeholder image
In order to add the default image in the banner, when someone does not submit any event banner, you can add the following code
- Open your child theme,
- Add the code into the funtions.php file:
add_filter(
'event_manager_default_event_banner'
,
'your_theme_slug_default_event_banner'
);
function
your_theme_slug_default_event_banner(
$image_path
){
$image_path
=
'YOUR IMAGE PATH HERE'
;
return
$image_path
;
- }
Save