• Is it possible to load the logo from an URL and not media?

    I know I can just load the image to the media, but I would rather save one HTTP request and just insert the full URL to the logo that’s hosted on the theme folder, not media.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @webdados, sure there’s a filter you can use, for example:

    add_filter('age_gate/logo/src', function() {
    return 'https://picsum.photos/200/200';
    });
    Thread Starter Marco Almeida | Webdados

    (@webdados)

    Hi @philsbury

    This is great, but it seems you’re calling that filter before after_setup_theme, which makes it hard/impossible to set it on the theme functions.php file, and forces us to use a plugin for that.

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