Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter evildoer

    (@evildoer)

    Still unresolved. Any takers on this one ? Did I miss a post?

    \<div class=”custom-header”><img src=”https://clickdujour.com/wp-content/uploads/cdj_top_logo1600x200.jpg&#8221; width=”1600″ height=”200″ alt=””></div>

    <article class=”section1 one_third”><div class=”section”><div class=”entry-header”><img src=”https://clickdujour.com/wp-content/uploads/badge_header_small-320×107.jpg&#8221; alt=””>\

    fill in the alt you want between the tags, for example:

    <div class="custom-header"><img src="https://clickdujour.com/wp-content/uploads/cdj_top_logo1600x200.jpg" width="1600" height="200" alt="this is my custom alt text"></div>

    Thread Starter evildoer

    (@evildoer)

    thanks onelonelystar….

    I am aware of how to add alt tags in html….the problem is – I cannot find the file/folder to access the image code.

    It is part of the theme itself.

    if the image file is in the uploads folder, that means that you’ve uploaded it via the wordpress dashboard, correct? you can edit the alt tag from there

    Anonymous User 13984636

    (@anonymized-13984636)

    Solution!!

    The files at wp-content/theme/minamaze/admin/main/option/02.homepage.php

    On line 266 for first image,
    echo ‘<img src=”‘ . $thinkup_homepage_section1_image[0] . ‘” alt=”” />’;

    On line 282 for second image,
    echo ‘<img src=”‘ . $thinkup_homepage_section2_image[0] . ‘” alt=”” />’;

    On line 298 for third image,
    echo ‘<img src=”‘ . $thinkup_homepage_section3_image[0] . ‘” alt=”” />’;

    Insert the alt=”” tag with your own tag.

    Thread Starter evildoer

    (@evildoer)

    Hi..

    So just add the codes you provided on those lines in 02.homepage.php file and insert the alt name betwixt the quotes ?

    Just ignore the “echo” references on adjacent lines ?

    Thread Starter evildoer

    (@evildoer)

    Okay….

    I added the code with the alt attributes.

    When I run thru Bing seo analyzer I now get an error:

    Parse error: syntax error, unexpected T_ECHO in /home/clickduj/public_html/wp-content/themes/minamaze/admin/main/options/02.homepage.php on line 133

    I’m also missing <h1> tags in head section that I don’t how to access.

    What say ye Huzaifah ?

    Thanks for your time.

    Thread Starter evildoer

    (@evildoer)

    In case some one gets a chance to take another look, I left the code I added to the php file intact.

    It doesn’t seem to affect viewing the images on the site home page.

    Just the error codes on with Bing.

    Thread Starter evildoer

    (@evildoer)

    I take that back.

    It does mess up site navigation via the links that are related to the 3 images.

    So, I reinstalled the old php file.

    Anonymous User 13984636

    (@anonymized-13984636)

    I know it is 4 month later, but i am sorry for my proposed solution, I did not realize it can cause problem to other part of the code. Does this still a problem to your SEO?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Minamaze Missing Alt Tags’ is closed to new replies.