Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Mayfair Fence Sidebars

Footer widgetized areas

// Register Sidebars
function mayfair_sidebars() {

	$args = array(
		'id'            => 'footer_col1',
		'class'         => 'footer-col1',
		'name'          => __( 'Footer Column 1', 'text_domain' ),
		'description'   => __( 'Left most column in the footer', 'text_domain' ),
		'before_title'  => '<h3 class="widgettitle">',
		'after_title'   => '</h3>',
		'before_widget' => '<div>',
		'after_widget'  => '</div>',
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'footer_col2',
		'class'         => 'footer-col2',
		'name'          => __( 'Footer Column 2', 'text_domain' ),
		'description'   => __( 'Middle column in the footer', 'text_domain' ),
		'before_title'  => '<h3 class="widgettitle">',
		'after_title'   => '</h3>',
		'before_widget' => '<div>',
		'after_widget'  => '</div>',
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'footer_col3',
		'class'         => 'footer-col3',
		'name'          => __( 'Footer Column 3', 'text_domain' ),
		'description'   => __( 'Right most column in the footer', 'text_domain' ),
		'before_title'  => '<h3 class="widgettitle">',
		'after_title'   => '</h3>',
	);
	register_sidebar( $args );

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