diff --git a/template-parts/related/content-related.php b/template-parts/related/content-related.php index 3bb813a..dd245ab 100644 --- a/template-parts/related/content-related.php +++ b/template-parts/related/content-related.php @@ -6,34 +6,42 @@ * @since 1.0.0 */ -if ( has_post_thumbnail() ) { - $post_class = 'has-thumbnail wow fadeInUp'; +if (has_post_thumbnail()) { + $post_class = "has-thumbnail wow fadeInUp"; } else { - $post_class = 'no-thumbnail wow fadeInUp'; -} -?> + $post_class = "no-thumbnail wow fadeInUp"; +} ?> -
> - '; - sophia_after_dark_post_thumbnail(); - sophia_after_dark_article_categories_list(); - echo ''; - if ( 'post' === get_post_type() ) { - ?> -
- -
- +
> + '; + if (has_post_thumbnail()) { + echo ''; + sophia_after_dark_post_thumbnail(); + echo ""; + } + sophia_after_dark_article_categories_list(); + echo ""; + if ("post" === get_post_type()) { ?> +
+ +
+ -
- ', '' ); ?> -
+
+ ', + "" + ); ?> +
-
- -
-
\ No newline at end of file + +