WordPress.org

Ready to get started?Download WordPress

Forums

Mimbo - Alt Tags - Homepage (4 posts)

  1. 1337man
    Member
    Posted 3 years ago #

    here is the code I need to work with:

    <?php echo get_post_image (get_the_id(), '', '', '' .get_bloginfo('template_url') .'/scripts/timthumb.php?zc=1&w=260&h=230&src='); ?>

    Now this is on the homepage, it leaves the alt tag blank. I have tried everything I know of to change this. I have tried modifying the function.php file (I can set a generalized alt tag there which is a temporary measure), I have tried adding in alt="<?php the_title(); ?>" and it does not work.

    Someone please help me. I think everyone that uses the Mimbo theme would love to have this SEO option to improve their search rankings.

  2. 1337man
    Member
    Posted 3 years ago #

    .....wow...didn't think i would get pushed wayyyyy down that fast. also still no response... so no one knows how to help me? Really? out of everyone on this forum no one knows?

  3. 1337man
    Member
    Posted 3 years ago #

    I am going to keep bumping this until someone can help me with it.

  4. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    I would recommend using the WordPress Post Thumbnail functionality, rather than TimThumb. The core WordPress functionality handles ALT tags.

Topic Closed

This topic has been closed to new replies.

About this Topic