Site logo

[Resolved] Attach image header from other location

Home Forums Support [Resolved] Attach image header from other location

Home Forums Support Attach image header from other location

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #352264
    Philip

    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?

    #352288
    Leo
    Staff
    Customer Support

    Hi there,

    You can try uploading it to a image uploading site like this: https://postimages.org/

    #352306
    Philip

    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.

    #352438
    Tom
    Lead Developer
    Lead Developer

    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';
    }
    #352442
    Philip

    Yes this worked, thank you Tom!

    #352535
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.