'title' Tag for main images in posts (12 posts)

  1. david
    Posted 2 years ago #


    I want to enter the title and alt tags for all of my images. For my featured images of each post, I find the option to add the title.
    These are the options that I have before entering the main image of my post:

    Title / Caption / Alternative Text / Description

    With the alternative text I can add the 'alt' tag but none of the other three work for the 'title' tag.

    This picture does not appear in the post editor because this image appears not only in the post but in other places in the website, like frontpage, etc, so I can not add the alt and title tags manually as I do with other images.

    Do you know any solution for this?

    Thank you very much,

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Why do you need a custom alt tag for these images? The image's title is used by default.

  3. david
    Posted 2 years ago #

    Hi esmi,

    I was told that I have to add 'alt' and 'title' tags to all my images to improve my SEO.

    When I inspect it with firebug I see that they have only the 'alt' tag and all these images are in my frontpage showing the first lines of each of my articles.

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Alt & title tags are not meant to be used for SEO purposes. The former especially is needed when the image is not available or when the visitor is a non-graphical browser because of a sight impairment. If you start using these tags to keyword stuff, then Google will mark you down as a result.

  5. david
    Posted 2 years ago #


    Thank you very much for the info.

    Actually I am cleaning a bit my content because without knowing it I was 'stuffing'

    This is not the purpose. I want to add 'alt' and 'title' tags to all my pictures because otherwise google can penalize you. At least I have heard this.

    And this ones are in my frontpage, showing a brief of my articles

  6. Andrew Nevins
    Forum moderator
    Posted 2 years ago #

    But images don't even have title attributes

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    At least I have heard this

    I'm sorry but what you have heard is incorrect. WordPress creates appropriate alt tags on all images by default. Title tags are also added when appropriate.

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    images don't even have title attributes

    They used to a couple of major versions ago but they were removed after I posting a Trac ticket highlighting that this would create unwanted noise for screenreader users.

  9. david
    Posted 2 years ago #


    The rules are changing so quick that sometimes is difficult to know what is correct.

    Now I can be easy with this.

    Thank you so much!

  10. esmi
    Forum Moderator
    Posted 2 years ago #

    No problem. Have you had a look at Search_Engine_Optimization_for_WordPress?

  11. david
    Posted 2 years ago #

    Very useful! I also added the meta tags to my website. Thanks again

  12. david
    Posted 2 years ago #

    Hi again,

    I have try to verify my website and I got 52 errors after adding the meta tags. Before that I had just 1.

    I think I did something wrong. Could you take a quick look please? Just in case the problem is easy to solve.

    This are the meta tags I added:

    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="resource-type" content="document" />
    <meta name="description" content="Blog with information, tips, comparatives, news, analysis, resources and price comparative tables about the smartphone Samsung Galaxy S5" />
    <meta http-equiv="content-language" content="es" />
    <meta name="author" content="David Gonzalo" />
    <meta name="copyright" content="Copyright (c)2014 David Gonzalo. All rights reserved." />
    <meta name="contact" content="dgonzalolabanda@gmail.com" />

    I added them in heather.php after:

    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    And the link to my errors is this:


    Do you see anything?

Topic Closed

This topic has been closed to new replies.

About this Topic