From: Anthony Talarico Date: Tue, 30 Oct 2018 14:28:40 +0000 (-0400) Subject: checking for published epicenter posts before trying to output them in the frontpage... X-Git-Tag: 1.2.40^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=637485071ac175ea10f36361f18d8912f54e4ef9;p=WP-Themes%2Fmountpleasantwow.git checking for published epicenter posts before trying to output them in the frontpage sidebar --- diff --git a/sidebar.php b/sidebar.php index 9dfda4a..880d2c4 100644 --- a/sidebar.php +++ b/sidebar.php @@ -33,14 +33,16 @@ 'suppress_filters' => true, ); - $epicenter_blog = get_posts( $args )[0]; + + $epicenter_blog = get_posts( $args )[0]; $date = strtotime($epicenter_blog->post_date); ?> -

post_title; ?>

-
-

ID, 35);?>...

+ +

post_title; ?>

+
+

ID, 35);?>...

+ - - + \ No newline at end of file