Hello @meredithcook13,
The logo link is not an option in any theme, and we also do not support to change logo link. Default, it will handle by WordPress core and always get the current your site URL.
If you want to change the logo link, please do the following here:
https://developer.ww.wp.xz.cn/reference/hooks/get_custom_logo/#comment-1695
Hope it helps!
Thanks for the quick reply! Where do I need the add the code listed in that comment? This code:
add_filter( ‘get_custom_logo’, ‘wecodeart_com’ );
// Filter the output of logo to fix Googles Error about itemprop logo
function wecodeart_com() {
$custom_logo_id = get_theme_mod( ‘custom_logo’ );
$html = sprintf( ‘%2$s‘,
esc_url( home_url( ‘/’ ) ),
wp_get_attachment_image( $custom_logo_id, ‘full’, false, array(
‘class’ => ‘custom-logo’,
) )
);
return $html;
}
@meredithcook13
Please put it in your theme or child theme’s functions.php.
Unfortunately, that did not work. This is the site I’m working on: https://www.precisionvasectomy.com/
Any chance you could take a peek at the page source and make sure I placed the code in the proper place?