esc_html__( 'Primary Menu', 'boxed-wp' ), ) ); //Switch default core markup for search form, comment form, and comments to output valid HTML5. add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', ) ); //Enable support for Post Formats. add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'boxed_wp_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => get_template_directory_uri() . '/images/bg-wood.png', ) ) ); // post slider image. add_image_size( 'img-slider', 480, 220, true ); // (cropped) // post image. add_image_size( 'img-post', 1160, 250, true ); // (cropped) } endif; // boxed_wp_setup add_action( 'after_setup_theme', 'boxed_wp_setup' ); //Implement the Custom Header feature. require get_template_directory() . '/core-framework/custom-header.php'; //Custom template tags for this theme. require get_template_directory() . '/core-framework/template-tags.php'; //Custom functions that act independently of the theme templates. require get_template_directory() . '/core-framework/extras.php'; //Load Jetpack compatibility file. require get_template_directory() . '/core-framework/jetpack.php'; //Core Framework. require get_template_directory() . '/core-framework/func/function-action.php'; require get_template_directory() . '/core-framework/func/function-widget.php'; require get_template_directory() . '/core-framework/func/function-script.php'; require get_template_directory() . '/core-framework/partials/page-metabox.php'; if ( is_admin() ) { require get_template_directory() . '/core-framework/welcome/welcome-screen.php'; } //Loads the Options Panel require get_template_directory() . '/core-framework/options/options-framework.php'; // Loads options.php require get_template_directory() . '/options.php'; /*----------------------------------------------- * Woocommerce support. -----------------------------------------------*/ add_theme_support( 'woocommerce' );