[Resolved] lighthouse warning logo

Home Forums Support [Resolved] lighthouse warning logo

Home Forums Support lighthouse warning logo

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #1643361
    Leo
    Staff
    Customer Support

    Hmm can you try this?

    add_filter( 'generate_logo_output','tu_logo_atts', 10, 2 );
    function tu_logo_atts( $output, $logo ) {
    	printf( 
    		'<div class="site-logo">
    			<a href="%1$s" title="%2$s" rel="home">
    				<img width="200" height="200" class="header-image" src="%3$s" alt="%2$s" title="%2$s" />
    			</a>
    		</div>',
    		esc_url( apply_filters( 'generate_logo_href' , home_url( '/' ) ) ),
    		esc_attr( apply_filters( 'generate_logo_title', get_bloginfo( 'name', 'display' ) ) ),
    		esc_url( apply_filters( 'generate_logo', $logo ) )
    	);
    }
    #1643369
    Anders Nielsen

    Much better – awesome lighthouse score ๐Ÿ˜‰

    Thanks

    #1643371
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.