From: Anthony Talarico Date: Wed, 17 Apr 2019 13:53:08 +0000 (-0400) Subject: fixing recent posts sidebar filter on single blog pages as well X-Git-Tag: v1.0.0^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4b18d8144f3bdef3f05c683e57ffe59eaffd0bbd;p=WP-Themes%2Fmeetmtp.git fixing recent posts sidebar filter on single blog pages as well --- diff --git a/functions.php b/functions.php index 322a0a2..71906e7 100644 --- a/functions.php +++ b/functions.php @@ -745,7 +745,7 @@ function fusion_doing_ajax() { /* Omit closing PHP tag to avoid "Headers already sent" issues. */ add_action('wp', 'check_home'); function check_home() { - if(is_home() || is_category()) { + if(is_home() || is_category() || is_single()) { function modify_widget() { $r = array( 'cat' => '-70'); return $r;