I ran a report and it shows that my logo doesn’t have an ALT text for the image. I found this code through the forms:
function avf_logo_final_output_mod($logo, $use_image, $headline_type, $sub, $alt, $link) {
$title = ‘Title Goes Here’;
$alt = “New Alternate Text Here”;
$dimension = “height=’213′ width=’897′”; //basically just for better page speed ranking :P
$logo = avia_get_option(‘logo’);
$logo = ““;
$logo = “<$headline_type class=’logo’>“.$logo.”$sub</$headline_type>”;
return $logo;
}
add_filter(‘avf_logo_final_output’, ‘avf_logo_final_output_mod’, 10, 6);
I found this code here:
My reason for wanting the alt text to be recognized is for the SEO value. The alt text has been entered in the logo in the media library.
Note: I have noticed when I use the image element that the alt text is recognized but when I insert an image into a text element I need to go in and enter the alt text and title to ensure it is recognized for the seo value.
Thank you for your help!
Hey Micheal0424,
I see that the ALT is working for you now, it is “New Alternate Text Here”. You may wish to change this in your code above.
Best regards,
Mike
Thanks