MozLife Sidebars
These are the sidebars for the MozLife web project.
// Register Sidebars
function custom_sidebars() {
$args = array(
'id' => 'mladinteractive',
'class' => 'mladinteractive',
'name' => __( 'AdInteractive', 'text_domain' ),
'description' => __( 'Space for the Ad Interactive', 'text_domain' ),
'before_title' => '<h4>',
'after_title' => '</h4>',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
);
register_sidebar( $args );
$args = array(
'id' => 'mlrestaurants',
'class' => 'mlrestaurants',
'name' => __( 'Restaurants', 'text_domain' ),
'description' => __( 'Space for Restaurants', 'text_domain' ),
'before_title' => '<h4>',
'after_title' => '</h4>',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
);
register_sidebar( $args );
$args = array(
'id' => 'mlcalendar',
'class' => 'mlcalendar',
'name' => __( 'Calendar', 'text_domain' ),
'description' => __( 'Space for the Calendar', 'text_domain' ),
'before_title' => '<h4>',
'after_title' => '</h4>',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
);
register_sidebar( $args );
$args = array(
'id' => 'mlnews',
'class' => 'mlnews',
'name' => __( 'News', 'text_domain' ),
'description' => __( 'Space for the News', 'text_domain' ),
'before_title' => '<h4>',
'after_title' => '</h4>',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
);
register_sidebar( $args );
$args = array(
'id' => 'mlcinema',
'class' => 'mlcinema',
'name' => __( 'Cinema', 'text_domain' ),
'description' => __( 'Space for Cinema', 'text_domain' ),
'before_title' => '<h4>',
'after_title' => '</h4>',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
);
register_sidebar( $args );
}
add_action( 'widgets_init', 'custom_sidebars' );