From 4b18d8144f3bdef3f05c683e57ffe59eaffd0bbd Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 17 Apr 2019 09:53:08 -0400 Subject: [PATCH] fixing recent posts sidebar filter on single blog pages as well --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.17.1