Add a new widget area – wordpress

if (function_exists(‘register_sidebar’)) {

register_sidebar(array(

‘name’=> ‘Header Area’,

‘id’ => ‘top_tabs’,

‘before_widget’ => ‘<li id=”%1$s”>’,

‘after_widget’ => ‘</li>’,

‘before_title’ => ‘<h2>’,

‘after_title’ => ‘</h2>’,

));

}

 

Share

Leave a Reply

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