skip to Main Content

Hide Footer Callout For All Blog Archives & Posts


function my_hide_callout_on_blog_archives( $bool ) {
	if ( wpex_is_blog_query() || is_singular( 'post' ) ) {
		$bool = false;
	}
	return $bool;
}
add_filter( 'wpex_callout_enabled', 'my_hide_callout_on_blog_archives', 20 );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top