Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Custom Sidebars for Website Policy Statements

// Register Sidebars
function custom_sidebars() {

	$args = array(
		'id'            => 'privacy-policy-sidebar',
		'class'         => 'policies-sidebar',
		'name'          => __( 'Privacy Policy Sidebar', 'text_domain' ),
		'description'   => __( 'Privacy Policy Information & Links', 'text_domain' ),
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'cookies-policy-sidebar',
		'class'         => 'policies-sidebar',
		'name'          => __( 'Cookies Policy Sidebar', 'text_domain' ),
		'description'   => __( 'Cookies Policy Information & Links', 'text_domain' ),
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'terms-contitions-sidebar',
		'class'         => 'policies-sidebar',
		'name'          => __( 'Terms & Conditions Sidebar', 'text_domain' ),
		'description'   => __( 'Terms & Conditions Information & Links', 'text_domain' ),
	);
	register_sidebar( $args );

}
add_action( 'widgets_init', 'custom_sidebars' );