diff --git a/public/class-peptide-news-public.php b/public/class-peptide-news-public.php index 384205f..88a2bf1 100644 --- a/public/class-peptide-news-public.php +++ b/public/class-peptide-news-public.php @@ -130,13 +130,14 @@ class Peptide_News_Public { -
- ai_summary ) ? $article->ai_summary : $article->excerpt; - echo esc_html( $display_text ); - ?> -
+ ai_summary ) ? $article->ai_summary : ( $article->excerpt ?? '' ); + if ( ! empty( $display_text ) ) : ?> ++ +
+ author ) ) : ?>