fbpx
Join our webinar on how to grow your events business with WP Event Manager on 29th September at 11:00 am EST.Register Now!
How can we help?

How to replace default event banner placeholder image

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,

  1. Open your child theme,
  2. 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;
    	
    }
    
  3. Save.
Quick Links
Close