tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); add_theme_support( 'align-wide' ); add_theme_support( 'post-thumbnails' ); add_image_size( 'blogshop-thumbnail-mobile', 350, 250, true ); add_image_size( 'blogshop-list-thumbnail', 380, 320, true ); add_image_size( 'blogshop-thumbnail-medium', 770, 350, true ); add_image_size( 'blogshop-thumbnail-larger', 1170, 650, true ); add_image_size( 'blogshop-latest-post-widget-thumb', 120, 120, true ); // This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'main-menu' => esc_html__( 'Primary', 'blogshop' ), 'footer-menu' => esc_html__( 'Footer Menu', 'blogshop' ), ) ); add_theme_support( 'woocommerce' ); /* * 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', ) ); add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video', 'audio' ) ); // Set up the WordPress core custom background feature. add_theme_support('custom-background', apply_filters( 'blogshop_custom_background_args', array( 'default-color' => 'ffffff', 'default-image' => '', ) ) ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Add theme support for selective refresh for widgets. add_theme_support( 'editor-styles' ); add_theme_support( 'wp-block-styles' ); add_editor_style('css/bootstra.css'); /** * Add support for core custom logo. * * @link https://codex.wordpress.org/Theme_Logo */ add_theme_support( 'custom-logo', array( 'height' => 250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); // This variable is intended to be overruled from themes. // Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}. // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound $GLOBALS['content_width'] = apply_filters( 'blogshop_content_width', 640 ); } endif; add_action( 'after_setup_theme', 'blogshop_setup' ); /** * Register widgets */ require get_template_directory() . '/inc/register-widgets.php'; /** * Enqueue scripts */ require get_template_directory() . '/inc/enqueue-scripts.php'; /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Functions which enhance the theme by hooking into WordPress. */ require get_template_directory() . '/inc/template-functions.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer.php'; /** * blogshop Comment Template. */ require get_template_directory() . '/inc/comment-template.php'; /** * blogshop sanitize functions. */ require get_template_directory() . '/inc/sanitize-functions.php'; /** * Checkout Fields */ require get_template_directory() . '/inc/checkout-fields.php'; /** * Recent Post Widget */ require get_template_directory() . '/inc/recent-post.php'; /** * TGM plugin Activation */ require get_template_directory() . '/inc/tgm/required-plugin.php'; if (class_exists('woocommerce')) { require get_template_directory() . '/inc/woocommerce-modification.php'; } /** * Fix skip link focus in IE11. * * This does not enqueue the script because it is tiny and because it is only for IE11, * thus it does not warrant having an entire dedicated blocking script being loaded. * * @link https://git.io/vWdr2 */ function blogshop_skip_link_focus_fix() { // The following is minified via `terser --compress --mangle -- js/skip-link-focus-fix.js`. ?>

Thanks for using blogshop WordPress theme. Hope you will like it. to get live support and access all options of blogshop. you may get pro version. thank you

BlogShop Pro live Preview Video Documentation Supports Reviews

This message will not appear in pro version.

'; } add_action('admin_notices', 'blogshop_admin_notice_for_help');