tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails */ add_theme_support( 'post-thumbnails' ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary' => __( 'Primary Menu', 'beautify' ), ) ); add_theme_support( 'post-formats', array( 'aside', 'image', 'video', 'quote', 'link', ) ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'search-form', 'comment-list', 'gallery', 'caption', ) ); // Set up the WordPress core custom background feature. add_theme_support( 'custom-background', apply_filters( 'beautify_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); /** * Set the content width in pixels, based on the theme's design and stylesheet. */ $GLOBALS['content_width'] = apply_filters( 'beautify_content_width', 780 ); /* * Custom Logo */ add_theme_support( 'custom-logo' ); /* Woocommerce support */ add_theme_support('woocommerce'); add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' ); /* * Add Additional image sizes * */ add_image_size( 'beautify-recent-posts-img', 560, 310, true ); add_image_size( 'beautify-service-img', 380, 180, true ); add_image_size( 'beautify-small-featured-image-width', 450,300, true ); add_image_size( 'beautify-blog-large-width', 800,300, true ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Define and register starter content to showcase the theme on new sites. $starter_content = array( 'widgets' => array( 'top-left' => array( // Widget ID 'my_text' => array( // Widget $id -> set when creating a Widget Class 'custom_html' , // Widget $instance -> settings array( 'content' =>sprintf('
%2$s
',__('About Us','beautify'),__('Structure personal participate in ethics training as part of our best practices program and each employee is provided with a skillset that help them makes the best decisions.','beautify') ) ) ) ), 'footer-2' => array( // Widget ID 'archives' ), 'footer-3' => array( // Widget ID 'my_text' => array( // Widget $id -> set when creating a Widget Class 'custom_html' , // Widget $instance -> settings array( 'content' => sprintf('OUR EXPERTISE FOR
OUR EXPERTISE FOR