Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Crear side_bar

if ( ! function_exists( 'coindica_sidebars' ) ) {

// Register Sidebars
function coindica_sidebars() {

	$args = array(
		'id'            => 'coindica-$i',
		'class'         => 'coindica_class',
		'name'          => __( 'sidebar_principal', 'coindicca' ),
		'description'   => __( 'sidebar principal', 'coindicca' ),
		'before_title'  => '<h2 class="Sidebarttitle">',
		'after_title'   => '<h2>',
		'before_widget' => '<li id="%1$s" class="widget %2$s">',
		'after_widget'  => '</li>',
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'coindica-$i',
		'class'         => 'coindica_segundo',
		'name'          => __( 'sidebar_segundo', 'coindicca' ),
		'description'   => __( 'sidebar_segundo', 'coindicca' ),
		'before_title'  => '<h2 class="Sidebartitle">',
		'after_title'   => '<h2>',
		'before_widget' => '<li id="%1$s" class="widget %2$s">',
		'after_widget'  => '</li>',
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'coindica-$f',
		'class'         => 'sidebar_tercero',
		'name'          => __( 'sidebar_tercero', 'coindicca' ),
		'description'   => __( 'sidebar_tercero', 'coindicca' ),
		'before_title'  => '<h2 class="Sidebartitle">',
		'after_title'   => '<h2>',
		'before_widget' => '<li id="%1$s" class="widget %2$s">',
		'after_widget'  => '</li>',
	);
	register_sidebar( $args );

	$args = array(
		'id'            => 'coindica-$g',
		'class'         => 'sidebar_cuarto',
		'name'          => __( 'sidebar_cuarto', 'coindicca' ),
		'description'   => __( 'sidebar cuarto', 'coindicca' ),
		'before_title'  => '<h2 class="Sidebartitle">',
		'after_title'   => '<h2>',
	);
	register_sidebar( $args );

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

}