fbpx

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.
Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Quick Links