Skip to content

Instantly share code, notes, and snippets.

@tripflex tripflex/functions.php
Last active Oct 20, 2017

Embed
What would you like to do?
Change default Company Logo in WP Job Manager
<?php
// ^ there should only be one of these at the top of your child theme's functions.php file
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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.