UFVJM Sidebar
if ( ! function_exists( 'sidebar' ) ) {
// Register Sidebar
function sidebar() {
$args = array(
'id' => 'sidebar',
'name' => __( 'Sidebar', 'ufvjm' ),
'description' => __( 'Right sidebar', 'ufvjm' ),
'class' => 'moduletable',
'before_title' => '<div class="tr"><div class="th"><h3>',
'after_title' => '</h3></div></div><div class="cellpadd0 cellspace0 moduletable"><div class="tr"><div class="td">',
'before_widget' => '<div class="moduletable">',
'after_widget' => '</div></div></div></div>',
);
register_sidebar( $args );
}
// Hook into the 'widgets_init' action
add_action( 'widgets_init', 'sidebar' );
}