We are making changes to our site! Please be patient as the changes take effect and we make adjustments.
function post_thumbnail_html_func( $html ) { $post_type = get_post_type(); if ($post_type == "post"){ if ( has_post_thumbnail() ) { $id = get_post_thumbnail_id(); $alt_text = get_post_meta( $id, '_wp_attachment_image_alt', true ); $html = str_replace( 'alt=', 'title="' . esc_attr( $alt_text ) . '" alt=', $html ); } else { } return $html; } } ?>