Collapsible List – uncheck “Open first item by default” in all future created Views

To disable “Open first item by default” in all future created Views, please add this code to file functions.php of your active theme:

// Content Views Pro - Disable "Open first item by default" in all future created Views
add_filter( 'pt_cv_view_type_settings_collapsible_184', 'cvp_theme_collapsible_uncheck_open_first_item', 100, 1 );
function cvp_theme_collapsible_uncheck_open_first_item( $args ) {
	$args[0]['params'][0]['std'] = '';

	return $args;
}

For existing Views, you need to unselect the Open the first item by default checkbox in the Display Settings > Layout.

Best regards,

Scroll to Top