Search the Community
Showing results for tags 'imasge'.
Found 1 result
hansinke posted a topic in DMS & Legacy ProductsIn 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).