$src[0], ); if (!empty($src[1])) $attr['width'] = $src[1]; if (!empty($src[2])) $attr['height'] = $src[2]; } // Backward compability with WordPress before 4.4 if (function_exists('wp_get_attachment_image_srcset') && !empty(wp_get_attachment_image_srcset($image, $size))) { $attr['srcset'] = wp_get_attachment_image_srcset($image, $size); } if (!empty($alt)){ $attr['alt'] = $alt; } else { $attr['alt'] = ''; } ?>
' . $title . ''; } ?> > $v) echo $n . '="' . esc_attr($v) . '" ' ?> />
>