add_action( 'wpex_display_footer_widgets', function( $bool ) {
// Hide for all blog related queries and single posts
if ( is_singular( 'post') || wpex_is_blog_query() ) {
$bool = false;
}
// Return boolean
return $bool;
} );
add_action( 'wpex_display_footer_widgets', function( $bool ) {
// Hide for all blog related queries and single posts
if ( is_singular( 'post') || wpex_is_blog_query() ) {
$bool = false;
}
// Return boolean
return $bool;
} );