Custom Header Logos

If you want to alter the main header logo for specific pages, archives, posts or various sections of the site you can do so easily using the theme filter “wpex_header_logo_img_url”. See the example function below:

// Custom Logo
add_filter( 'wpex_header_logo_img_url', function( $logo ) {

    // Change image for your front page
    if ( is_front_page() ) {
        $logo = 'YOUR CUSTOM IMAGE ID or URL';
    }

    // Return logo
    return $logo;

} );

// Custom Retina logo
add_filter( 'wpex_retina_logo_url', function( $logo ) {

    // Change image for your front page
    if ( is_front_page() ) {
        $logo = 'YOUR CUSTOM IMAGE ID or URL';
    }

    // Return logo
    return $logo;

} );