Widget Area
if ( ! function_exists( 'custom_sidebars' ) ) { // Register Sidebars function custom_sidebars() { $args = array( 'id' => 'wa_mdc', 'class' => 'wa_mdc', 'name' => __( 'Widget Area 1', 'text_domain' ), ); register_sidebar( $args ); } add_action( 'widgets_init', 'custom_sidebars' ); }