Hello Tom,
I found you posted this code to adjust the Site Logo alt tag independently from the Site Title given in customizer:
add_filter( 'generate_logo_title', 'tu_adjust_logo_alt' );
function tu_adjust_logo_alt() {
return 'Reclaim Design Logo';
}
I’ve added this and what happens is that it changes the site link title text as well:
https://www.dropbox.com/s/92eq3833b8k7ted/site-logo-alt-tag.jpg?dl=0
How can I set the filter to only add alt tag for the image and keep the site link title as it is set in Customizer?
So <a href="https://reclaimdesign.org/" title="Reclaim Design" rel="home">
instead of <a href="https://reclaimdesign.org/" title="Reclaim Design Logo" rel="home">
(as it’s getting set to when the filter is applied)?
Thank you for your help π
Michael.