Not friendly SEO
-
When execute function rwp_img generated image code not have ALT attribute.
I think it should work like wp_get_attachment_image function.
If image ALT text is set into media manager, then is displaying this text. If ALT is emty, into ALT tag wordpress paste Title.
Something like this:$image_alt = get_post_meta( $image_ID , '_wp_attachment_image_alt', true ); if( empty( $image_alt ) ){ $image_alt = trim( get_the_title( $image_ID ) ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Not friendly SEO’ is closed to new replies.