[Resolved] Window logo URL

Home Forums Support [Resolved] Window logo URL

Home Forums Support Window logo URL

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #295685
    Miguel Angel

    Hello Tom, I want the URL of the logo to open in another window.
    This code gives me error:

    add_filter( ‘generate_logo_href’,’generate_custom_logo_href’ );
    function generate_custom_logo_href()
    {
    return ‘https://www.google.es/’ target=”_blank” ;
    }

    Can you help me please.
    A hug

    #295834
    Tom
    Lead Developer
    Lead Developer

    Hi Miguel,

    You would have to filter the entire logo HTML. I added an example for you on this page: https://docs.generatepress.com/article/generate_logo_output/

    #295881
    Miguel Angel

    Hi Tom, perfect thanks.

    A hug

    #296103
    Tom
    Lead Developer
    Lead Developer

    Glad I could help 🙂

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