__( 'Primary Menu', 'mino' ),
'secondary' => __( 'Secondary Menu', 'mino' )
) );
/* Set sidebar */
register_sidebar( array(
'name' => __( 'Sidebar Widget', 'mino' ),
'id' => 'sidebar-widget',
'description' => __( 'Displayed on sidebar area', 'mino' ),
'before_widget' => '',
'before_title' => '
',
) );
register_sidebar( array(
'name' => __( 'Woocommerce Sidebar Widget', 'mino' ),
'id' => 'sidebar-widget-ecommerce',
'description' => __( 'Displayed on woocommerce sidebar area', 'mino' ),
'before_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => __( 'Footer Widget', 'mino' ),
'id' => 'footer-widget',
'description' => __( 'Displayed on footer area', 'mino' ),
'before_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => __( 'Header Widget', 'mino' ),
'id' => 'header-widget',
'description' => __( 'Displayed on header area', 'mino' ),
'before_widget' => '',
'before_title' => '',
) );
register_sidebar( array(
'name' => __( 'Woocommerce Header Widget', 'mino' ),
'id' => 'header-commerce-widget',
'description' => __( 'Displayed on woocommerce header area', 'mino' ),
'before_widget' => '',
'before_title' => '',
) );
/* Core markup for this part as valid HTML4 */
add_theme_support( 'html5', array(
'search-form', 'comment-form', 'comment-list', 'gallery', 'caption'
) );
/* Support for Post Formats */
add_theme_support( 'post-formats', array(
'aside', 'image', 'video', 'quote', 'link', 'gallery', 'status', 'audio', 'chat'
) );
/* Support for post template */
add_theme_support( 'post-thumbnails' );
/* Support custom logo */
$args = array(
'height' => 90,
'width' => 370,
'flex-height' => true,
'flex-width' => true,
'upload' => true,
'header-text' => array( 'site-title', 'site-description' )
);
add_theme_support( 'custom-logo', $args );
/* Support custom background */
$defaults = array(
'default-color' => '',
'default-image' => '',
'default-repeat' => '',
'default-position-x' => '',
'default-attachment' => '',
'wp-head-callback' => '_custom_background_cb'
);
add_theme_support( 'custom-background', $defaults );
/* Support Woocommerce */
add_theme_support( 'woocommerce' );
/* Add image size */
add_image_size( 'mino-square-size', 376, 376, array( 'center', 'center' ) );
add_image_size( 'mino-potrait-size', 240, 320, true );
add_image_size( 'mino-full-size', 1200, 300, true );
}
endif;
add_action( 'after_setup_theme', 'mino_setup' );
/* Set standard content width */
if ( ! isset( $content_width ) ) {
$content_width = 660;
}