<?php

function jenny_widgets_init() {
	register_sidebar( array(
		'name'              =>  esc_html__( 'Sidebar', 'jenny' ),
		'id'                =>  'sidebar-primary',
		'description'       =>  esc_html__( 'Add widgets here to appear in your sidebar.', 'jenny' ),
		'before_widget'     =>  '<section id="%1$s" class="widget %2$s">',
		'after_widget'      =>  '</section>',
		'before_title'      =>  '<h4 class="widget-title">',
		'after_title'       =>  '</h4>'
	) );

	register_sidebar( array(
		'name'              =>  esc_html__( 'Header', 'jenny' ),
		'id'                =>  'sidebar-header',
		'description'       =>  esc_html__( 'Add text, image, video text, or HTML widgets here to appear in your header next to site logo.', 'jenny' ),
		'before_widget'     =>  '<section id="%1$s" class="widget %2$s">',
		'after_widget'      =>  '</section>',
		'before_title'      =>  '<h4 class="widget-title">',
		'after_title'       =>  '</h4>'
	) );

}