Sidebars Cativar
if ( ! function_exists( 'sidebar_cativar' ) ) {
// Register Sidebars
function sidebar_cativar() {
$args = array(
'id' => 'cativar-contacts-sidebar',
'name' => __( 'Footer Contacts Widget Area', 'cativar' ),
'description' => __( 'Appears on posts and pages in the footer.', 'cativar' ),
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
);
register_sidebar( $args );
$args = array(
'id' => 'cativar-links-sidebar',
'name' => __( 'Footer Links Widget Area', 'cativar' ),
'description' => __( 'Appears on posts and pages in the footer.', 'cativar' ),
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
);
register_sidebar( $args );
}
add_action( 'widgets_init', 'sidebar_cativar' );
}