Student Application For CFDS AA Designation
You do not have permission to view this form.
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; } } ?>