wordpress/wp-content/themes/developry-lite/inc/sidebars.php
/**
	 * Attach sidebars to WP admin.
	 *
	 * @since 1.0.0
	 */
Attach sidebars to WP admin.
Attach sidebars to WP admin .
function developry_sidebars() {
		register_sidebar(
			array(
				'name' 			=> sprintf( esc_html__( 'Sidebar', 'developry-lite' ) ),
				'id'   		 	=> 'sidebar-1',
				'before_title'  => '<h6>',
				'after_title'   => '</h6>',
				'before_widget' => '<div id="%1$s" class="widget %2$s">',
				'after_widget'  => '</div>',
			)
		);
		register_sidebar(
			array(
				'name' 			=> sprintf( esc_html__( 'Footer 1', 'developry-lite' ) ),
				'id'   			=> 'footer-1',
				'before_title'  => '<h6>',
				'after_title'   => '</h6>',
				'before_widget' => '<div id="%1$s" class="widget %2$s">',
				'after_widget'  => '</div>',
			)
		);
		register_sidebar(
			array(
				'name' 			=> sprintf( esc_html__( 'Footer 2', 'developry-lite' ) ),
				'id'   			=> 'footer-2',
				'before_title'  => '<h6>',
				'after_title'   => '</h6>',
				'before_widget' => '<div id="%1$s" class="widget %2$s">',
				'after_widget'  => '</div>',
			)
		);
		register_sidebar(
			array(
				'name'			=> sprintf( esc_html__( 'Footer 3', 'developry-lite' ) ),
				'id'   			=> 'footer-3',
				'before_title'  => '<h6>',
				'after_title'   => '</h6>',
				'before_widget' => '<div id="%1$s" class="widget %2$s">',
				'after_widget'  => '</div>',
			)
		);
		register_sidebar(
			array(
				'name'			=> sprintf( esc_html__( 'Copyright', 'developry-lite' ) ),
				'id'   			=> 'copyright-1',
				'before_title'  => '<h6>',
				'after_title'   => '</h6>',
				'before_widget' => '<div id="%1$s" class="widget %2$s">',
				'after_widget'  => '</div>',
			)
		);
	}
function developry_sidebars ( ) { register_sidebar ( array ( 'name' => sprintf ( esc_html__ ( 'Sidebar' , 'developry-lite' ) ) , 'id' => 'sidebar-1' , 'before_title' => '<h6>' , 'after_title' => '</h6>' , 'before_widget' => '<div id="%1$s" class="widget %2$s">' , 'after_widget' => '</div>' , ) ) ; register_sidebar ( array ( 'name' => sprintf ( esc_html__ ( 'Footer 1' , 'developry-lite' ) ) , 'id' => 'footer-1' , 'before_title' => '<h6>' , 'after_title' => '</h6>' , 'before_widget' => '<div id="%1$s" class="widget %2$s">' , 'after_widget' => '</div>' , ) ) ; register_sidebar ( array ( 'name' => sprintf ( esc_html__ ( 'Footer 2' , 'developry-lite' ) ) , 'id' => 'footer-2' , 'before_title' => '<h6>' , 'after_title' => '</h6>' , 'before_widget' => '<div id="%1$s" class="widget %2$s">' , 'after_widget' => '</div>' , ) ) ; register_sidebar ( array ( 'name' => sprintf ( esc_html__ ( 'Footer 3' , 'developry-lite' ) ) , 'id' => 'footer-3' , 'before_title' => '<h6>' , 'after_title' => '</h6>' , 'before_widget' => '<div id="%1$s" class="widget %2$s">' , 'after_widget' => '</div>' , ) ) ; register_sidebar ( array ( 'name' => sprintf ( esc_html__ ( 'Copyright' , 'developry-lite' ) ) , 'id' => 'copyright-1' , 'before_title' => '<h6>' , 'after_title' => '</h6>' , 'before_widget' => '<div id="%1$s" class="widget %2$s">' , 'after_widget' => '</div>' , ) ) ; }
Attach sidebars to WP admin.
Attach sidebars to WP admin .
// Register widget area for the sidebar. // Register widget area for the footer (left columns). // Register widget area for the footer (middle column). // Register widget area for the footer (right column). // Register widget area for the for copyright (change the layout and remove the default state).