Snippets: Register A New Custom Sidebar

Total has a built-in function so you can easily add new sidebars via Appearance > Widgets > Create Widget Area. However, if you prefer to use code you can easily add new sidebars as well using code (best if you are adding a lot of them). See below:

add_filter( 'wpex_register_sidebars_array', function( $sidebars ) {
	$sidebars['my_custom_sidebar'] = __( 'My Custom Sidebar Name', 'total' );
	return $sidebars;
} );
All PHP snippets should be added via a child theme's functions.php file.