Snippets: Add More Column Choices To Grid Modules

// This function will add the column selections you will then have to add your custom CSS
// for the actual column. Example '.span_1_of_8{ width: 12.5%; }'
function myprefix_grid_columns( $columns ) {
	$columns['8'] = '8';
	$columns['9'] = '9';
	$columns['10'] = '10'; // add as many as you want
	return $columns;
}
add_filter( 'wpex_grid_columns', 'myprefix_grid_columns' );

Snippet Type: PHP

Posted Under: Core

All PHP snippets should be added via a child theme's functions.php file.