diff --git a/inc/template-tags.php b/inc/template-tags.php index f02759c5..056291d5 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -112,37 +112,37 @@ if ( ! function_exists( '_s_entry_footer' ) ) : endif; if ( ! function_exists( '_s_post_thumbnail' ) ) : -/** - * Displays an optional post thumbnail. - * - * Wraps the post thumbnail in an anchor element on index views, or a div - * element when on single views. - */ -function _s_post_thumbnail() { - if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { - return; - } + /** + * Displays an optional post thumbnail. + * + * Wraps the post thumbnail in an anchor element on index views, or a div + * element when on single views. + */ + function _s_post_thumbnail() { + if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { + return; + } - if ( is_singular() ) : - ?> + if ( is_singular() ) : + ?> -
- -
+
+ +
- + + + - - -