WordPress Sidebar Generator

WordPress Sidebar Generator is a tool that allows WordPress users to easily create customizable sidebars.

Sidebars

  • #1 My Sidebar
// Register custom sidebars
function wpskills_custom_sidebars() {
    $args = array(
        'name'          => __('My Sidebar', 'text-domain'),
        'description'   => __('My Sidebar Description', 'text-domain'),
        'id'            => 'sidebar-id',
        'class'         => 'my-sidebar',
        'before_widget' => '<li id="%1$s" class="widget %2$s">',
        'after_widget'  => '</li>',
        'before_title'  => '<h2 class="widgettitle">',
        'after_title'   => '</h2>',
    );
    register_sidebar($args);
    
}
add_action('widgets_init', 'wpskills_custom_sidebars');