Site logo

Archived topic

Attach image header from other location

5 replies · Started by Philip on July 20, 2017

Viewing posts 1–6 of 6

Hi
I am looking to attach the header image from root or other folder not media because i have a plugin watermark and it adds to it watermark plus the image is fuzzy.

How to achieve this?

No this is not what i am looking, i can upload it to my root or other folder problem is i not know how to link it from customizer when i click change logo then media library is open by default, there is no option for custom link.

What you can do is upload your logo in the Customizer.

Then filter it like this:

add_filter( 'generate_logo','tu_custom_logo' );
function tu_custom_logo( $logo ) {
    return 'URL TO YOUR LOGO';
}

Yes this worked, thank you Tom!

You're welcome :)

This archived topic is closed to new replies.