Archived

This topic is now archived and is closed to further replies.

  • 0

Alt Text Does Not Display In The Image (I Did Customize It In My Site)


Question

Posted · Report post

In class.posts I changed the code to:

 

 

$img = ( $mode == 'top' ) ? get_the_post_thumbnail( null, 'large', trim(strip_tags( $attachment->post_excerpt ))) : get_the_post_thumbnail( null, 'thumbnail',trim(strip_tags( $attachment->post_excerpt )) );
 
For 508 section alt text is needed; maybe you should pick it up when it was filled in (and when null maybe you can use the title field).
 
 

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

Indeed it works, I do not know why I got the problem... I removed the code as indeed I should need to correct it every version.

 

Resolved!

Share this post


Link to post
Share on other sites