From 8db723182a43bd92ca823f679354d0b681a8588b Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 27 Mar 2023 21:54:14 +0200 Subject: [PATCH] only display img if there is a img --- pcf-wp/single-post.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pcf-wp/single-post.php b/pcf-wp/single-post.php index 395a442..50d2b2a 100644 --- a/pcf-wp/single-post.php +++ b/pcf-wp/single-post.php @@ -3,7 +3,15 @@

-<?php echo get_the_title(); ?> + + + <?php the_title_attribute(); ?> + +