I’m using an enfold child theme (parent: enfold 3.0.4). I would like to alter the alt tag content (currently it pulls the blog name) for my custom logo. Is there a filter that I can use in the child’s functions.php that would let me alter the output for the function ‘avia_logo’?
Hi spectodesign!
Please add following code to Functions.php file and edit as needed
add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "Company Name";
return $sub;
}
Cheers!
Yigit
Hi Yigit,
Thanks, I just made it work with the code below, is your filter preferred over the one I’m using?
add_filter('avf_logo_alt', 'avf_logo_alt_new');
function avf_logo_alt_new($alt) {
$alt = 'my new alt text';
return $alt;
}