• Resolved briankassler

    (@briankassler)


    Hi,

    Is there anyway to set a default thumbnail image for job listings rather than using the company logo? or for when a company does not have a logo?

    Thank you ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • @briankassler

    Try this one here, should get the job done for you

    add_filter( 'job_manager_default_company_logo', 'smyles_custom_job_manager_logo' );
    
    function smyles_custom_job_manager_logo( $logo_url ){
    
    	// Change the value below to match the filename of the custom logo you want to use
    	// Place the file in a /images/ directory in your child theme's root directory.
    	// The example provided assumes "/images/custom_logo.png" exists in your child theme
    	$filename = 'custom_logo.png';
    	
    	$logo_url = get_stylesheet_directory_uri() . '/images/' . $filename;
    	
    	return $logo_url;
    	
    }
    Thread Starter briankassler

    (@briankassler)

    @braehler Thanks for the quick response. It worked perfect.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Setting default thumbnail for job listings’ is closed to new replies.