/**********************/ // child style enqueue /**********************/ function th_hot_shop_styles(){ $themeVersion = wp_get_theme()->get('Version'); // Enqueue our style.css with our own version wp_enqueue_style('th-hot-shop-styles', get_template_directory_uri() . '/style.css',array(), $themeVersion); wp_add_inline_style('th-hot-shop-styles', th_hot_shop_custom_styles()); } add_action('wp_enqueue_scripts', 'th_hot_shop_styles', 100); define('TH_HOT_SHOP_LAYOUT_TWO', get_theme_file_uri(). "/images/header-layout-2.png"); /**********************/ //customize setting /**********************/ function th_hot_shop_setting( $wp_customize ){ /******************/ // theme color /******************/ $wp_customize->add_setting('open_shop_theme_clr', array( 'default' => '#fd0000', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'open_shop_sanitize_color', 'transport' => 'postMessage', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize,'open_shop_theme_clr', array( 'label' => __('Theme Color', 'th-hot-shop' ), 'section' => 'open-shop-gloabal-color', 'settings' => 'open_shop_theme_clr', 'priority' => 1, ) ) ); // choose col layout if(class_exists('Open_Shop_WP_Customize_Control_Radio_Image')){ $wp_customize->add_setting( 'open_shop_main_header_layout', array( 'default' => 'mhdrdefault', 'sanitize_callback' => 'open_shop_sanitize_radio', ) ); $wp_customize->add_control( new Open_Shop_WP_Customize_Control_Radio_Image( $wp_customize, 'open_shop_main_header_layout', array( 'label' => esc_html__( 'Header Layout', 'th-hot-shop' ), 'section' => 'open-shop-main-header', 'choices' => array( 'mhdrdefault' => array( 'url' => OPEN_SHOP_MAIN_HEADER_LAYOUT_ONE, ), 'mhdrone' => array( 'url' => TH_HOT_SHOP_LAYOUT_TWO, ), 'mhdrtwo' => array( 'url' => OPEN_SHOP_MAIN_HEADER_LAYOUT_THREE, ), 'mhdrthree' => array( 'url' => OPEN_SHOP_MAIN_HEADER_LAYOUT_FOUR, ), ), 'priority' => 1, ) ) ); } //Main menu option $wp_customize->add_setting('open_shop_main_header_option', array( 'default' => 'none', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'open_shop_sanitize_select', )); $wp_customize->add_control( 'open_shop_main_header_option', array( 'settings' => 'open_shop_main_header_option', 'label' => __('Column 1','th-hot-shop'), 'section' => 'open-shop-main-header', 'type' => 'select', 'choices' => array( 'none' => __('None','th-hot-shop'), 'callto' => __('Call-To','th-hot-shop'), 'button' => __('Button','th-hot-shop'), 'widget' => __('Widget','th-hot-shop'), ), )); } add_action( 'customize_register', 'th_hot_shop_setting', 100 ); /***************************/ //custom style /***************************/ function th_hot_shop_custom_styles(){ $open_shop_theme_clr = esc_html(get_theme_mod('open_shop_theme_clr','#fd0000')); $open_shop_color_scheme = esc_html(get_theme_mod('open_shop_color_scheme','opn-light')); $th_hot_shop_custom_style=""; $th_hot_shop_custom_style.="a:hover, .open-shop-menu li a:hover, .open-shop-menu .current-menu-item a,.woocommerce .thunk-woo-product-list .price,.thunk-product-hover .th-button.add_to_cart_button, .woocommerce ul.products .thunk-product-hover .add_to_cart_button, .woocommerce .thunk-product-hover a.th-butto, .woocommerce ul.products li.product .product_type_variable, .woocommerce ul.products li.product a.button.product_type_grouped,.thunk-compare .compare-button a:hover, .thunk-product-hover .th-button.add_to_cart_button:hover, .woocommerce ul.products .thunk-product-hover .add_to_cart_button :hover, .woocommerce .thunk-product-hover a.th-button:hover,.thunk-product .yith-wcwl-wishlistexistsbrowse.show:before, .thunk-product .yith-wcwl-wishlistaddedbrowse.show:before,.woocommerce ul.products li.product.thunk-woo-product-list .price,.summary .yith-wcwl-add-to-wishlist.show .add_to_wishlist::before, .summary .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse.show a::before, .summary .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse.show a::before,.woocommerce .entry-summary a.compare.button.added:before,.header-icon a:hover,.thunk-related-links .nav-links a:hover,.woocommerce .thunk-list-view ul.products li.product.thunk-woo-product-list .price,.woocommerce .woocommerce-error .button, .woocommerce .woocommerce-info .button, .woocommerce .woocommerce-message .button,article.thunk-post-article .thunk-readmore.button,.thunk-wishlist a:hover, .thunk-compare a:hover,.woocommerce .thunk-product-hover a.th-button,.woocommerce ul.cart_list li .woocommerce-Price-amount, .woocommerce ul.product_list_widget li .woocommerce-Price-amount,.open-shop-load-more button, .summary .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a::before, .summary .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a::before,.thunk-hglt-icon,.thunk-product .yith-wcwl-wishlistexistsbrowse:before, .thunk-product .yith-wcwl-wishlistaddedbrowse:before,.woocommerce a.button.product_type_simple,.woosw-btn:hover:before,.woosw-added:before,.wooscp-btn:hover:before,.woocommerce #reviews #comments .star-rating span ,.woocommerce p.stars a,.woocommerce .woocommerce-product-rating .star-rating,.woocommerce .star-rating span::before, .woocommerce .entry-summary a.th-product-compare-btn.btn_type:before{color:{$open_shop_theme_clr};} header #thaps-search-button,header #thaps-search-button:hover,.nav-links .page-numbers.current, .nav-links .page-numbers:hover{background:{$open_shop_theme_clr};}"; if($open_shop_color_scheme=='opn-dark'){ $th_hot_shop_custom_style.="body.open-shop-dark a:hover, body.open-shop-dark .open-shop-menu > li > a:hover, body.open-shop-dark .open-shop-menu li ul.sub-menu li a:hover,body.open-shop-dark .thunk-product-cat-list li a:hover,body.open-shop-dark .main-header a:hover, body.open-shop-dark #sidebar-primary .open-shop-widget-content a:hover,.open-shop-dark .thunk-woo-product-list .woocommerce-loop-product__title a:hover{color:{$open_shop_theme_clr}} body.open-shop-dark #searchform [type='submit']{background:{$open_shop_theme_clr};border-color:{$open_shop_theme_clr}}"; } $th_hot_shop_custom_style.=".toggle-cat-wrap,#search-button,.thunk-icon .cart-icon, .single_add_to_cart_button.button.alt, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit, .woocommerce button.button, .woocommerce input.button,.thunk-woo-product-list .thunk-quickview a,.cat-list a:after,.tagcloud a:hover, .thunk-tags-wrapper a:hover,.btn-main-header,.woocommerce div.product form.cart .button, .thunk-icon .cart-icon .taiowc-cart-item{background:{$open_shop_theme_clr}} .open-cart p.buttons a:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce #respond input#submit:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,.thunk-slide .owl-nav button.owl-prev:hover, .thunk-slide .owl-nav button.owl-next:hover, .open-shop-slide-post .owl-nav button.owl-prev:hover, .open-shop-slide-post .owl-nav button.owl-next:hover,.thunk-list-grid-switcher a.selected, .thunk-list-grid-switcher a:hover,.woocommerce .woocommerce-error .button:hover, .woocommerce .woocommerce-info .button:hover, .woocommerce .woocommerce-message .button:hover,#searchform [type='submit']:hover,article.thunk-post-article .thunk-readmore.button:hover,.open-shop-load-more button:hover,.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current{background-color:{$open_shop_theme_clr};} .thunk-product-hover .th-button.add_to_cart_button, .woocommerce ul.products .thunk-product-hover .add_to_cart_button, .woocommerce .thunk-product-hover a.th-butto, .woocommerce ul.products li.product .product_type_variable, .woocommerce ul.products li.product a.button.product_type_grouped,.open-cart p.buttons a:hover,.thunk-slide .owl-nav button.owl-prev:hover, .thunk-slide .owl-nav button.owl-next:hover, .open-shop-slide-post .owl-nav button.owl-prev:hover, .open-shop-slide-post .owl-nav button.owl-next:hover,body .woocommerce-tabs .tabs li a::before,.thunk-list-grid-switcher a.selected, .thunk-list-grid-switcher a:hover,.woocommerce .woocommerce-error .button, .woocommerce .woocommerce-info .button, .woocommerce .woocommerce-message .button,#searchform [type='submit']:hover,article.thunk-post-article .thunk-readmore.button,.woocommerce .thunk-product-hover a.th-button,.open-shop-load-more button,.woocommerce a.button.product_type_simple{border-color:{$open_shop_theme_clr}} .loader { border-right: 4px solid {$open_shop_theme_clr}; border-bottom: 4px solid {$open_shop_theme_clr}; border-left: 4px solid {$open_shop_theme_clr};}"; //ribbon $th_hot_shop_custom_style.=".openshop-site section.thunk-ribbon-section .content-wrap:before { content:''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background:{$open_shop_theme_clr};}"; return $th_hot_shop_custom_style; } function th_hot_shop_customizer_script_registers(){ wp_enqueue_script( 'th_hot_shop_custom_customizer_script', get_theme_file_uri() . '/customizer/js/customizer.js', array("jquery"), '', true ); } add_action('customize_controls_enqueue_scripts', 'th_hot_shop_customizer_script_registers',100 ); add_action('admin_head', 'th_hot_shop_admin_custom_styles'); function th_hot_shop_admin_custom_styles() { echo ''; } add_action('customize_controls_print_styles', 'th_hot_shop_customizer_custom_styles'); function th_hot_shop_customizer_custom_styles() { echo ''; } remove_action( 'wp_head', 'feed_links_extra', 3 ); remove_action( 'wp_head', 'feed_links', 2 ); remove_action( 'wp_head', 'rsd_link' ); function custom_feed_410_redirect() { if (is_feed()) { status_header(410); echo "Gone - This page is no longer available."; exit(); } } add_action('template_redirect', 'custom_feed_410_redirect');/** * open shop functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Open Shop * @since 1.0.0 */ /** * Theme functions and definitions */ if ( ! function_exists( 'open_shop_setup' ) ) : define( 'OPEN_SHOP_THEME_VERSION','1.4.9'); define( 'OPEN_SHOP_THEME_DIR', get_template_directory() . '/' ); define( 'OPEN_SHOP_THEME_URI', get_template_directory_uri() . '/' ); define( 'OPEN_SHOP_THEME_SETTINGS', 'open-shop-settings' ); /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_open_shop_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function open_shop_setup(){ /* * Make theme available for translation. */ load_theme_textdomain( 'open-shop', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); /* * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded 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 https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'comment-form', 'comment-list', 'gallery', 'caption', ) ); add_theme_support( 'woocommerce' ); // Add support for Block Styles. add_theme_support( 'wp-block-styles' ); // Add support for full and wide align images. add_theme_support( 'align-wide' ); // Add support for editor styles. add_theme_support( 'editor-styles' ); // Enqueue editor styles. add_editor_style( 'style-editor.css' ); add_editor_style( 'editor.css' ); // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); add_theme_support( 'custom-spacing' ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); //Remove theme support for widget block editor /** * Add support for core custom logo. */ add_theme_support( 'custom-logo', array( 'height' => 250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); // Add support for Custom Header. add_theme_support( 'custom-header', apply_filters( 'open_shop_custom_header_args', array( 'default-image' => '', 'flex-height' => true, 'header-text' => false, 'video' => false, ) ) ); // Add support for Custom Background. if(get_theme_mod('open_shop_color_scheme')=='opn-dark'){ $args = array( 'default-color' => '2f2f2f', ); }else{ $args = array( 'default-color' => 'f1f1f1', ); } add_theme_support( 'custom-background',$args ); $GLOBALS['content_width'] = apply_filters( 'open_shop_content_width', 640 ); add_theme_support( 'woocommerce', array( 'thumbnail_image_width' => 320, ) ); // Recommend plugins add_theme_support( 'recommend-plugins', array( 'hunk-companion' => array( 'name' => esc_html__( 'Hunk Companion (Highly Recommended)', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'hunk-companion/hunk-companion.php', ), 'th-advance-product-search' => array( 'name' => esc_html__( 'TH Advance Product Search', 'open-shop' ), 'img' => 'icon-128x128.gif', 'active_filename' => 'th-advance-product-search/th-advance-product-search.php', ), 'th-all-in-one-woo-cart' => array( 'name' => esc_html__( 'Th All In One Woo Cart', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'th-all-in-one-woo-cart/th-all-in-one-woo-cart.php', ), 'th-product-compare' => array( 'name' => esc_html__( 'Th Product Compare', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'th-product-compare/th-product-compare.php', ), 'th-variation-swatches' => array( 'name' => esc_html__( 'TH Variation Swatches', 'open-shop' ), 'img' => 'icon-128x128.gif', 'active_filename' => 'th-variation-swatches/th-variation-swatches.php', ), 'lead-form-builder' => array( 'name' => esc_html__( 'Lead Form Builder', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'lead-form-builder/lead-form-builder.php', ), 'wp-popup-builder' => array( 'name' => esc_html__( 'WP Popup Builder – Popup Forms & Newsletter', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'wp-popup-builder/wp-popup-builder.php', ), 'unlimited-blocks' => array( 'name' => esc_html__( 'Unlimited blocks For Gutenberg', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'unlimited-blocks/unlimited-blocks.php', ), 'woocommerce' => array( 'name' => esc_html__( 'Woocommerce', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'woocommerce/woocommerce.php', ), 'yith-woocommerce-wishlist' => array( 'name' => esc_html__( 'YITH WooCommerce Wishlist', 'open-shop' ), 'img' => 'icon-128x128.jpg', 'active_filename' => 'yith-woocommerce-wishlist/init.php', ), 'themehunk-megamenu-plus' => array( 'name' => esc_html__( 'ThemeHunk Megamenu – Menu builder', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'themehunk-megamenu-plus/themehunk-megamenu.php', ), ) ); // Import Data Content plugins add_theme_support( 'import-demo-content', array( 'hunk-companion' => array( 'name' => esc_html__( 'Hunk Companion', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'hunk-companion/hunk-companion.php', ), 'one-click-demo-import' => array( 'name' => esc_html__( 'One Click Demo Import', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'one-click-demo-import/one-click-demo-import.php', ), 'woocommerce' => array( 'name' => esc_html__( 'Woocommerce', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'woocommerce/woocommerce.php', ), 'th-advance-product-search' => array( 'name' => esc_html__( 'TH Advance Product Search', 'open-shop' ), 'img' => 'icon-128x128.gif', 'active_filename' => 'th-advance-product-search/th-advance-product-search.php', ), 'th-all-in-one-woo-cart' => array( 'name' => esc_html__( 'TH All In One Woo Cart', 'open-shop' ), 'img' => 'icon-128x128.png', 'active_filename' => 'th-all-in-one-woo-cart/th-all-in-one-woo-cart.php', ), )); // Useful plugins add_theme_support( 'useful-plugins', array( 'themehunk-megamenu-plus' => array( 'name' => esc_html__( 'Megamenu plugin from Themehunk.', 'open-shop' ), 'active_filename' => 'themehunk-megamenu-plus/themehunk-megamenu.php', ), ) ); } endif; add_action( 'after_setup_theme', 'open_shop_setup' ); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. */ /** * Register widget area. */ function open_shop_widgets_init(){ register_sidebar( array( 'name' => esc_html__( 'Primary Sidebar', 'open-shop' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here to appear in your primary sidebar.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s"><div class="open-shop-widget-content">', 'after_widget' => '</div></div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Above Header First Widget', 'open-shop' ), 'id' => 'top-header-widget-col1', 'description' => esc_html__( 'Add widgets here to appear in top header.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Above Header Second Widget', 'open-shop' ), 'id' => 'top-header-widget-col2', 'description' => esc_html__( 'Add widgets here to appear in top header.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Above Header Third Widget', 'open-shop' ), 'id' => 'top-header-widget-col3', 'description' => esc_html__( 'Add widgets here to appear in top header.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Main Header Widget', 'open-shop' ), 'id' => 'main-header-widget', 'description' => esc_html__( 'Add widgets here to appear in main header.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Top First Widget', 'open-shop' ), 'id' => 'footer-top-first', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Top Second Widget', 'open-shop' ), 'id' => 'footer-top-second', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Top Third Widget', 'open-shop' ), 'id' => 'footer-top-third', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Below First Widget', 'open-shop' ), 'id' => 'footer-below-first', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Below Second Widget', 'open-shop' ), 'id' => 'footer-below-second', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Below Third Widget', 'open-shop' ), 'id' => 'footer-below-third', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'open-shop' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); for ( $i = 1; $i <= 4; $i++ ){ register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer Widget Area %d', 'open-shop' ), $i ), 'id' => 'footer-' . $i, 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h4 class="widget-title">', 'after_title' => '</h4>', ) ); } } add_action( 'widgets_init', 'open_shop_widgets_init' ); /** * Enqueue scripts and styles. */ function open_shop_scripts(){ // enqueue css $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_enqueue_style( 'font-awesome', OPEN_SHOP_THEME_URI . '/third-party/fonts/font-awesome/css/font-awesome.css', '', OPEN_SHOP_THEME_VERSION ); wp_enqueue_style( 'th-icon', OPEN_SHOP_THEME_URI . '/third-party/fonts/th-icon/style.css','',OPEN_SHOP_THEME_VERSION); wp_enqueue_style( 'animate', OPEN_SHOP_THEME_URI . '/css/animate.css','',OPEN_SHOP_THEME_VERSION); wp_enqueue_style( 'open-shop-menu', OPEN_SHOP_THEME_URI . '/css/open-shop-menu.css','',OPEN_SHOP_THEME_VERSION); if((bool)get_theme_mod('open_shop_rtl')==true || in_array('rtl', get_body_class())){ wp_enqueue_style( 'open-shop-rtl-style', OPEN_SHOP_THEME_URI . 'css/rtl.css','',OPEN_SHOP_THEME_VERSION); }else{ wp_enqueue_style( 'open-shop-main-style', OPEN_SHOP_THEME_URI . 'css/style.css','',OPEN_SHOP_THEME_VERSION); } wp_enqueue_style( 'open-shop-style', get_stylesheet_uri(), array(), OPEN_SHOP_THEME_VERSION ); wp_add_inline_style('open-shop-style', open_shop_custom_style()); //enqueue js //wp_enqueue_script("jquery-effects-core",array( 'jquery' )); wp_enqueue_script( 'jquery-ui-autocomplete',array( 'jquery' ),'',true ); wp_enqueue_script('imagesloaded'); wp_enqueue_script('open-shop-pro-menu-js', OPEN_SHOP_THEME_URI .'/js/open-shop-menu.js', array( 'jquery' ), '1.0.0', true ); wp_enqueue_script('open-shop-accordian-menu-js', OPEN_SHOP_THEME_URI .'/js/open-shop-accordian-menu.js', array( 'jquery' ), OPEN_SHOP_THEME_VERSION , true ); wp_enqueue_script('open-shop-custom-js', OPEN_SHOP_THEME_URI .'/js/open-shop-custom.js', array( 'jquery' ), OPEN_SHOP_THEME_VERSION , true ); $openshoplocalize = array( 'open_shop_top_slider_optn' => (bool) get_theme_mod('open_shop_top_slider_optn',false), 'open_shop_move_to_top_optn' => (bool) get_theme_mod('open_shop_move_to_top',false), ); wp_localize_script( 'open-shop-custom-js', 'open_shop', $openshoplocalize); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ){ wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'open_shop_scripts' ); if ( ! function_exists( 'wp_body_open' ) ) { /** * Shim for wp_body_open, ensuring backward compatibility with versions of WordPress older than 5.2. */ function wp_body_open() { do_action( 'wp_body_open' ); } } /********************************************************/ // Adding Dashicons in WordPress Front-end /********************************************************/ add_action( 'wp_enqueue_scripts', 'open_shop_load_dashicons_front_end' ); function open_shop_load_dashicons_front_end(){ wp_enqueue_style( 'dashicons' ); } /** * Load init. */ require_once trailingslashit(OPEN_SHOP_THEME_DIR).'inc/init.php'; //custom function conditional check for blog page function open_shop_is_blog(){ return ( is_archive() || is_author() || is_category() || is_home() || is_single() || is_tag()) && 'post' == get_post_type(); } if ( !empty(get_option( 'theme_mods_openshop-pro')) ) { function open_shop_theme_switch() { update_option( 'theme_mods_openshop-pro', get_option( 'theme_mods_open-shop') ); } add_action('switch_theme', 'open_shop_theme_switch'); }{"id":5605,"date":"2023-11-13T17:05:24","date_gmt":"2023-11-13T16:05:24","guid":{"rendered":"https:\/\/magasinsteroides.com\/?post_type=product&p=5605"},"modified":"2024-04-17T15:09:52","modified_gmt":"2024-04-17T13:09:52","slug":"hgh-frag-10-mg-peptide-sciences","status":"publish","type":"product","link":"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/","title":{"rendered":"HGH Frag 10 mg Peptide Sciences"},"content":{"rendered":"<p><H2> HGH Frag 10 mg Peptide Sciences – La cl\u00e9 de la croissance musculaire et de la performance <\/H2><\/p>\n<p>Le HGH Frag 10 mg de Peptide Sciences est un produit r\u00e9volutionnaire con\u00e7u sp\u00e9cifiquement pour les bodybuilders qui souhaitent maximiser leur croissance musculaire et am\u00e9liorer leurs performances. Ce peptide puissant offre une multitude d’avantages pour les utilisateurs, qu’ils soient d\u00e9butants ou exp\u00e9riment\u00e9s.<\/p>\n<p><H2> D\u00e9tails et caract\u00e9ristiques <\/H2><\/p>\n<ul>\n<li><strong>Puissance maximale :<\/strong> Chaque flacon de HGH Frag 10 mg contient une dose concentr\u00e9e de peptide de haute qualit\u00e9, garantissant des r\u00e9sultats optimaux.<\/li>\n<li><strong>Stimulation de la croissance musculaire :<\/strong> Le HGH Frag stimule la lib\u00e9ration de l’hormone de croissance humaine (HGH) dans le corps, favorisant ainsi la croissance musculaire maigre.<\/li>\n<li><strong>Br\u00fblage des graisses :<\/strong> En plus de favoriser la croissance musculaire, ce peptide aide \u00e9galement \u00e0 br\u00fbler les graisses ind\u00e9sirables, aidant ainsi \u00e0 obtenir une d\u00e9finition musculaire plus prononc\u00e9e.<\/li>\n<li><strong>Am\u00e9lioration de la r\u00e9cup\u00e9ration :<\/strong> Le HGH Frag acc\u00e9l\u00e8re la r\u00e9cup\u00e9ration musculaire apr\u00e8s un entra\u00eenement intense, r\u00e9duisant ainsi les temps de repos n\u00e9cessaires entre les s\u00e9ances d’entra\u00eenement.<\/li>\n<li><strong>Augmentation de la force et de l’endurance :<\/strong> Ce peptide am\u00e9liore la force et l’endurance, permettant aux bodybuilders de repousser leurs limites et d’atteindre de nouveaux sommets.<\/li>\n<\/ul>\n<p><H2> Effets secondaires potentiels <\/H2><\/p>\n<p>Comme tout autre produit, le HGH Frag 10 mg peut entra\u00eener certains effets secondaires potentiels. Cependant, ils sont g\u00e9n\u00e9ralement rares et l\u00e9gers. Les effets secondaires possibles comprennent des maux de t\u00eate, des douleurs articulaires temporaires et une l\u00e9g\u00e8re r\u00e9tention d’eau. Il est important de noter que ces effets secondaires sont g\u00e9n\u00e9ralement temporaires et disparaissent d’eux-m\u00eames.<\/p>\n<p><H2> Utilisation et dosage <\/H2><\/p>\n<p>Pour les bodybuilders d\u00e9butants, il est recommand\u00e9 de commencer par une dose de 1 \u00e0 2 mg par jour, administr\u00e9e par injection sous-cutan\u00e9e. Les bodybuilders exp\u00e9riment\u00e9s peuvent augmenter la dose jusqu’\u00e0 3 \u00e0 4 mg par jour, en fonction de leurs besoins et de leur tol\u00e9rance individuelle. Il est essentiel de consulter un professionnel de la sant\u00e9 avant de commencer tout programme de suppl\u00e9mentation.<\/p>\n<p><H2> Pourquoi commander sur magasinsteroides.com en France <\/H2><\/p>\n<p>Magasinsteroides.com est votre destination de confiance pour l’achat de produits de qualit\u00e9 sup\u00e9rieure. Voici quelques raisons pour lesquelles vous devriez commander le HGH Frag 10 mg Peptide Sciences sur notre boutique en ligne :<\/p>\n<ul>\n<li><strong>Qualit\u00e9 garantie :<\/strong> Nous ne proposons que des produits de la plus haute qualit\u00e9, fabriqu\u00e9s par des marques r\u00e9put\u00e9es telles que Peptide Sciences.<\/li>\n<li><strong>Exp\u00e9dition rapide et discr\u00e8te :<\/strong> Nous comprenons l’importance de la confidentialit\u00e9 et nous nous engageons \u00e0 exp\u00e9dier votre commande de mani\u00e8re rapide et discr\u00e8te, sans aucune mention du contenu sur l’emballage.<\/li>\n<li><strong>Service client\u00e8le exceptionnel :<\/strong> Notre \u00e9quipe de service client\u00e8le est disponible pour r\u00e9pondre \u00e0 toutes vos questions et vous fournir une assistance personnalis\u00e9e tout au long du processus d’achat.<\/li>\n<li><strong>Prix comp\u00e9titifs :<\/strong> Nous offrons des prix comp\u00e9titifs pour vous permettre d’obtenir les meilleurs produits au meilleur prix.<\/li>\n<li><strong>Garantie de satisfaction :<\/strong> Nous sommes convaincus de la qualit\u00e9 de nos produits, c’est pourquoi nous offrons une garantie de satisfaction \u00e0 nos clients. Si vous n’\u00eates pas enti\u00e8rement satisfait de votre achat, nous vous rembourserons int\u00e9gralement.<\/li>\n<\/ul>\n<p>Ne manquez pas l’opportunit\u00e9 d’am\u00e9liorer vos performances et d’atteindre vos objectifs de musculation avec le HGH Frag 10 mg Peptide Sciences. Commandez d\u00e8s maintenant sur magasinsteroides.com et d\u00e9couvrez les avantages incroyables de ce produit r\u00e9volutionnaire.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HGH Frag 10 mg Peptide Sciences – La cl\u00e9 de la croissance musculaire et de la performance Le HGH Frag 10 mg de Peptide Sciences est un produit r\u00e9volutionnaire con\u00e7u sp\u00e9cifiquement pour les bodybuilders qui souhaitent maximiser leur croissance musculaire et am\u00e9liorer leurs performances. Ce peptide puissant offre une multitude d’avantages pour les utilisateurs, qu’ils […]<\/p>\n","protected":false},"featured_media":5606,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false},"product_cat":[23,335],"product_tag":[],"class_list":{"0":"post-5605","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-peptide-peptidpraeparate","7":"product_cat-abnehmen-von-drogen","9":"first","10":"instock","11":"shipping-taxable","12":"purchasable","13":"product-type-simple"},"yoast_head":"<title>Offre limit\u00e9e - Achetez HGH Frag 10 mg Peptide Sciences en France \u00e0 partir de 70 \u20ac \u23e9<\/title>\n<meta name=\"description\" content=\"Profitez d'une offre sp\u00e9ciale sur notre site - achetez HGH Frag 10 mg Peptide Sciences d\u00e8s maintenant \u00e0 un prix avantageux \u261d\ufe0f Faites-le avec amour! \u2764\ufe0f\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Offre limit\u00e9e - Achetez HGH Frag 10 mg Peptide Sciences en France \u00e0 partir de 70 \u20ac \u23e9\" \/>\n<meta property=\"og:description\" content=\"Profitez d'une offre sp\u00e9ciale sur notre site - achetez HGH Frag 10 mg Peptide Sciences d\u00e8s maintenant \u00e0 un prix avantageux \u261d\ufe0f Faites-le avec amour! \u2764\ufe0f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/\" \/>\n<meta property=\"og:site_name\" content=\"magasinsteroides.com\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-17T13:09:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/magasinsteroides.com\/wp-content\/uploads\/2023\/11\/PEP-BO-0646.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>","yoast_head_json":{"title":"Offre limit\u00e9e - Achetez HGH Frag 10 mg Peptide Sciences en France \u00e0 partir de 70 \u20ac \u23e9","description":"Profitez d'une offre sp\u00e9ciale sur notre site - achetez HGH Frag 10 mg Peptide Sciences d\u00e8s maintenant \u00e0 un prix avantageux \u261d\ufe0f Faites-le avec amour! \u2764\ufe0f","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/","og_locale":"fr_FR","og_type":"article","og_title":"Offre limit\u00e9e - Achetez HGH Frag 10 mg Peptide Sciences en France \u00e0 partir de 70 \u20ac \u23e9","og_description":"Profitez d'une offre sp\u00e9ciale sur notre site - achetez HGH Frag 10 mg Peptide Sciences d\u00e8s maintenant \u00e0 un prix avantageux \u261d\ufe0f Faites-le avec amour! \u2764\ufe0f","og_url":"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/","og_site_name":"magasinsteroides.com","article_modified_time":"2024-04-17T13:09:52+00:00","og_image":[{"width":1080,"height":1080,"url":"https:\/\/magasinsteroides.com\/wp-content\/uploads\/2023\/11\/PEP-BO-0646.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/","url":"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/","name":"Offre limit\u00e9e - Achetez HGH Frag 10 mg Peptide Sciences en France \u00e0 partir de 70 \u20ac \u23e9","isPartOf":{"@id":"https:\/\/magasinsteroides.com\/#website"},"datePublished":"2023-11-13T16:05:24+00:00","dateModified":"2024-04-17T13:09:52+00:00","description":"Profitez d'une offre sp\u00e9ciale sur notre site - achetez HGH Frag 10 mg Peptide Sciences d\u00e8s maintenant \u00e0 un prix avantageux \u261d\ufe0f Faites-le avec amour! \u2764\ufe0f","breadcrumb":{"@id":"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/magasinsteroides.com\/medicament\/hgh-frag-10-mg-peptide-sciences\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/magasinsteroides.com\/"},{"@type":"ListItem","position":2,"name":"HGH Frag 10 mg Peptide Sciences"}]},{"@type":"WebSite","@id":"https:\/\/magasinsteroides.com\/#website","url":"https:\/\/magasinsteroides.com\/","name":"magasinsteroides.com","description":"","publisher":{"@id":"https:\/\/magasinsteroides.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/magasinsteroides.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/magasinsteroides.com\/#organization","name":"magasinsteroides.com","url":"https:\/\/magasinsteroides.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/magasinsteroides.com\/#\/schema\/logo\/image\/","url":"https:\/\/magasinsteroides.com\/wp-content\/uploads\/2024\/01\/logo-1.svg","contentUrl":"https:\/\/magasinsteroides.com\/wp-content\/uploads\/2024\/01\/logo-1.svg","width":170,"height":55,"caption":"magasinsteroides.com"},"image":{"@id":"https:\/\/magasinsteroides.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/magasinsteroides.com\/wp-json\/wp\/v2\/product\/5605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magasinsteroides.com\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/magasinsteroides.com\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/magasinsteroides.com\/wp-json\/wp\/v2\/comments?post=5605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/magasinsteroides.com\/wp-json\/wp\/v2\/media\/5606"}],"wp:attachment":[{"href":"https:\/\/magasinsteroides.com\/wp-json\/wp\/v2\/media?parent=5605"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/magasinsteroides.com\/wp-json\/wp\/v2\/product_cat?post=5605"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/magasinsteroides.com\/wp-json\/wp\/v2\/product_tag?post=5605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}