The generate_navigation_logo filter allows you to change the navigation logo.

Default (URL): Your logo set in Customize > Layout > Primary Navigation.


Please refer to the Using Filters article to learn how to use this filter.


If you want to show a different navigation logo inside categories, you could do this:

add_filter( 'generate_navigation_logo','lh_category_navigation_logo' );
function lh_category_navigation_logo( $logo ) {
    // Return our category logo URL
    if ( is_category() ) {
        return 'URL TO YOUR CATEGORY LOGO';

    // Otherwise, return our default logo
    return $logo;