Page Loader

icon_big

There is time when we need to add more widgets to the wordpress. But how can you do it to a theme that already define a single sidebar? I found useful article here:

1) Change the functions.php


'sidebar1',
'before_widget' => '',
'after_widget' => '',
'before_title' => '

',
'after_title' => '

',
));
register_sidebar(array('name'=>'sidebar2',
'before_widget' => '',
'after_widget' => '',
'before_title' => '

',
'after_title' => '

',
));
?>

2. Call it in the template





Comments
Leave a Reply

Your email address will not be published. Required fields are marked *

Highlights
Recent Posts
Instagram Feed