<?php



/* Register Sidebars */



add_action('widgets_init', 'my_register_sidebars');



function my_register_sidebars()

{

    register_sidebar(array(

        'id' => 'sidebar',

        'name' => 'Sidebar Widget',

        'before_widget' => '<div class="widget %2$s">',

        'after_widget' => '</div>',

        'before_title' => '<h3>',

        'after_title' => '</h3><div class="titleborder"></div>'

    ));

    

    register_sidebar(array(

        'id' => 'footer1',

        'name' => 'Footer Widget 1',

        'before_widget' => '<div class="widget %2$s">',

        'after_widget' => '</div>',

        'before_title' => '<h3>',

        'after_title' => '</h3>'

    ));

    

    register_sidebar(array(

        'id' => 'footer2',

        'name' => 'Footer Widget 2',

        'before_widget' => '<div class="widget %2$s">',

        'after_widget' => '</div>',

        'before_title' => '<h3>',

        'after_title' => '</h3>'

    ));

    

    register_sidebar(array(

        'id' => 'footer3',

        'name' => 'Footer Widget 3',

        'before_widget' => '<div class="widget %2$s">',

        'after_widget' => '</div>',

        'before_title' => '<h3>',

        'after_title' => '</h3>'

    ));

    

    register_sidebar(array(

        'id' => 'footer4',

        'name' => 'Footer Widget 4',

        'before_widget' => '<div class="widget %2$s">',

        'after_widget' => '</div>',

        'before_title' => '<h3>',

        'after_title' => '</h3>'

    ));

    

}



?>