Viewing 1 replies (of 1 total)
  • Thread Starter jujole

    (@jujole)

    Ok,solved,it was a problem with my theme, ’cause in the feature-image.php it takes the_title as “alt” of the image, but when translating alt becomes “mealingua_title” and all html goes away ??

    Solved by editing my theme’s code in this folder:

    /yoursite/folder/includes/post-thumbnail.php :

    in the last line,

    I’ve changed this:

    <img src="<?php echo $image_url; ?>" alt="<?php the_title(); ?>" />

    with this:

    <img src="<?php echo $image_url; ?>" alt="&copy;Jzgrafica.com" />

Viewing 1 replies (of 1 total)
  • The topic ‘href code referred to title in featured image’ is closed to new replies.