Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #892097

    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 = “{$alt}“;
    $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!

    #892290

    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

    #897827

    Thanks

    #897833

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Logo doesn't have ALT Text’ is closed to new replies.