From ab824be92a6d4a481bb32e1547b21a1a0bfbcfc2 Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Thu, 20 Jun 2024 17:28:25 -0700 Subject: [PATCH] Make it so "Related Posts" thumbnail is a link :3 --- template-parts/related/content-related.php | 62 ++++++++++++---------- 1 file changed, 35 insertions(+), 27 deletions(-) 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() ) { - ?> -
- -
- + \ No newline at end of file + +