This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Removing comments

#2102
Jason Bobich
Keymaster

You’re just talking about the comments and comment form on single posts? There’s actually a nifty little filter in the theme you can use to show/hide comments. It’s on the “themeblvd_global_config” array — It only exists in single.php and page.php, so there’s no need to check for is_single().

function my_global_config( $setup ){
	
	if( $whatever ) 
		$setup['comments']['posts'] = false;
	
	return $setup;
	
}
add_filter( 'themeblvd_global_config', 'my_global_config' );