/** * Trucking Company functions and definitions * @package Trucking Company */ if ( ! function_exists( 'trucking_company_after_theme_support' ) ) : function trucking_company_after_theme_support() { add_theme_support( 'automatic-feed-links' ); add_theme_support( 'custom-background', array( 'default-color' => 'ffffff', ) ); $GLOBALS['content_width'] = apply_filters( 'trucking_company_content_width', 1140 ); add_theme_support( 'post-thumbnails' ); add_theme_support( 'custom-logo', array( 'height' => 270, 'width' => 90, 'flex-height' => true, 'flex-width' => true, ) ); add_theme_support( 'title-tag' ); add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', 'script', 'style', ) ); add_theme_support( 'post-formats', array( 'video', 'audio', 'gallery', 'quote', 'image' ) ); add_theme_support( 'align-wide' ); add_theme_support( 'responsive-embeds' ); add_theme_support( 'wp-block-styles' ); } endif; add_action( 'after_setup_theme', 'trucking_company_after_theme_support' ); /** * Register and Enqueue Styles. */ function trucking_company_register_styles() { wp_enqueue_style( 'dashicons' ); $theme_version = wp_get_theme()->get( 'Version' ); $fonts_url = trucking_company_fonts_url(); if( $fonts_url ){ require get_theme_file_path( 'lib/custom/css/wptt-webfont-loader.php' ); wp_enqueue_style( 'trucking-company-google-fonts', wptt_get_webfont_url( $fonts_url ), array(), $theme_version ); } wp_enqueue_style( 'swiper', get_template_directory_uri() . '/lib/swiper/css/swiper-bundle.min.css'); wp_enqueue_style( 'trucking-company-style', get_stylesheet_uri(), array(), $theme_version ); $trucking_company_css = ''; if ( get_header_image() ) : $trucking_company_css .= ' .header-navbar{ background-image: url('.esc_url(get_header_image()).'); -webkit-background-size: cover !important; -moz-background-size: cover !important; -o-background-size: cover !important; background-size: cover !important; }'; endif; wp_add_inline_style( 'trucking-company-style', $trucking_company_css ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } wp_enqueue_script( 'imagesloaded' ); wp_enqueue_script( 'masonry' ); wp_enqueue_script( 'swiper', get_template_directory_uri() . '/lib/swiper/js/swiper-bundle.min.js', array('jquery'), '', 1); wp_enqueue_script( 'trucking-company-custom', get_template_directory_uri() . '/lib/custom/js/theme-custom-script.js', array('jquery'), '', 1); // Global Query if( is_front_page() ){ $posts_per_page = absint( get_option('posts_per_page') ); $c_paged = ( get_query_var( 'page' ) ) ? absint( get_query_var( 'page' ) ) : 1; $posts_args = array( 'posts_per_page' => $posts_per_page, 'paged' => $c_paged, ); $posts_qry = new WP_Query( $posts_args ); $max = $posts_qry->max_num_pages; }else{ global $wp_query; $max = $wp_query->max_num_pages; $c_paged = ( get_query_var( 'paged' ) > 1 ) ? get_query_var( 'paged' ) : 1; } $trucking_company_default = trucking_company_get_default_theme_options(); $trucking_company_pagination_layout = get_theme_mod( 'trucking_company_pagination_layout',$trucking_company_default['trucking_company_pagination_layout'] ); } add_action( 'wp_enqueue_scripts', 'trucking_company_register_styles',200 ); function trucking_company_admin_enqueue_scripts_callback() { if ( ! did_action( 'wp_enqueue_media' ) ) { wp_enqueue_media(); } wp_enqueue_script('trucking-company-uploaderjs', get_stylesheet_directory_uri() . '/lib/custom/js/uploader.js', array(), "1.0", true); } add_action( 'admin_enqueue_scripts', 'trucking_company_admin_enqueue_scripts_callback' ); /** * Register navigation menus uses wp_nav_menu in five places. */ function trucking_company_menus() { $locations = array( 'trucking-company-primary-menu' => esc_html__( 'Primary Menu', 'trucking-company' ), ); register_nav_menus( $locations ); } add_action( 'init', 'trucking_company_menus' ); require get_template_directory() . '/inc/custom-header.php'; require get_template_directory() . '/classes/class-svg-icons.php'; require get_template_directory() . '/classes/class-walker-menu.php'; require get_template_directory() . '/inc/customizer/customizer.php'; require get_template_directory() . '/inc/custom-functions.php'; require get_template_directory() . '/inc/template-tags.php'; require get_template_directory() . '/classes/body-classes.php'; require get_template_directory() . '/inc/widgets/widgets.php'; require get_template_directory() . '/inc/metabox.php'; require get_template_directory() . '/inc/pagination.php'; require get_template_directory() . '/lib/breadcrumbs/breadcrumbs.php'; require get_template_directory() . '/lib/custom/css/dynamic-style.php'; require get_template_directory() . '/woocommerce/woocommerce-functions.php'; /** * For Admin Page */ if (is_admin()) { require get_template_directory() . '/inc/get-started/get-started.php'; } if (! defined( 'TRUCKING_COMPANY_DOCS_PRO' ) ){ define('TRUCKING_COMPANY_DOCS_PRO',__('https://www.omegathemes.com/steps/trucking-company/','trucking-company')); } if (! defined( 'TRUCKING_COMPANY_BUY_NOW' ) ){ define('TRUCKING_COMPANY_BUY_NOW',__('https://omegathemes.com/wordpress/trucking-company-wordpress-theme/','trucking-company')); } if (! defined( 'TRUCKING_COMPANY_SUPPORT_FREE' ) ){ define('TRUCKING_COMPANY_SUPPORT_FREE',__('https://wordpress.org/support/theme/trucking-company','trucking-company')); } if (! defined( 'TRUCKING_COMPANY_REVIEW_FREE' ) ){ define('TRUCKING_COMPANY_REVIEW_FREE',__('https://wordpress.org/support/theme/trucking-company/reviews/#new-post','trucking-company')); } if (! defined( 'TRUCKING_COMPANY_DEMO_PRO' ) ){ define('TRUCKING_COMPANY_DEMO_PRO',__('https://www.omegathemes.com/preview/trucking-company/','trucking-company')); }{"id":404,"date":"2023-10-03T15:23:20","date_gmt":"2023-10-03T13:23:20","guid":{"rendered":"https:\/\/steroids-to-buy.com\/?post_type=product&p=404"},"modified":"2023-10-03T15:23:23","modified_gmt":"2023-10-03T13:23:23","slug":"swiss-pharma-trenbolon-e-200-mg-10-ampere","status":"publish","type":"product","link":"https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/","title":{"rendered":"Swiss Pharma Trenbolon E 200 mg 10 Ampere"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"featured_media":433,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false},"product_cat":[18,42,44],"product_tag":[],"class_list":{"0":"post-404","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-injizierbare-steroide","7":"product_cat-trenbolon","8":"product_cat-trenbolon-enantat","10":"first","11":"instock","12":"shipping-taxable","13":"purchasable","14":"product-type-simple"},"yoast_head":"\nLegally Procure Swiss Pharma Trenbolon E 200 mg 10 Ampere for \u00a365.00 with UK Delivery Online<\/title>\n<meta name=\"description\" content=\"Order Swiss Pharma Trenbolon E 200 mg 10 Ampere legally online \u2795 Official manufacturer price in the UK \u2795 Detailed description and dosage recommendations \u2795 Plan an effective dosing cycle!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Legally Procure Swiss Pharma Trenbolon E 200 mg 10 Ampere for \u00a365.00 with UK Delivery Online\" \/>\n<meta property=\"og:description\" content=\"Order Swiss Pharma Trenbolon E 200 mg 10 Ampere legally online \u2795 Official manufacturer price in the UK \u2795 Detailed description and dosage recommendations \u2795 Plan an effective dosing cycle!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/\" \/>\n<meta property=\"og:site_name\" content=\"Steroids To Buy\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-03T13:23:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/steroids-to-buy.com\/wp-content\/uploads\/2023\/10\/swiss-pharma-trenbolon-enanthate-600x600-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"600\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Legally Procure Swiss Pharma Trenbolon E 200 mg 10 Ampere for \u00a365.00 with UK Delivery Online","description":"Order Swiss Pharma Trenbolon E 200 mg 10 Ampere legally online \u2795 Official manufacturer price in the UK \u2795 Detailed description and dosage recommendations \u2795 Plan an effective dosing cycle!","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:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/","og_locale":"en_GB","og_type":"article","og_title":"Legally Procure Swiss Pharma Trenbolon E 200 mg 10 Ampere for \u00a365.00 with UK Delivery Online","og_description":"Order Swiss Pharma Trenbolon E 200 mg 10 Ampere legally online \u2795 Official manufacturer price in the UK \u2795 Detailed description and dosage recommendations \u2795 Plan an effective dosing cycle!","og_url":"https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/","og_site_name":"Steroids To Buy","article_modified_time":"2023-10-03T13:23:23+00:00","og_image":[{"width":600,"height":600,"url":"https:\/\/steroids-to-buy.com\/wp-content\/uploads\/2023\/10\/swiss-pharma-trenbolon-enanthate-600x600-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/","url":"https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/","name":"Legally Procure Swiss Pharma Trenbolon E 200 mg 10 Ampere for \u00a365.00 with UK Delivery Online","isPartOf":{"@id":"https:\/\/steroids-to-buy.com\/#website"},"datePublished":"2023-10-03T13:23:20+00:00","dateModified":"2023-10-03T13:23:23+00:00","description":"Order Swiss Pharma Trenbolon E 200 mg 10 Ampere legally online \u2795 Official manufacturer price in the UK \u2795 Detailed description and dosage recommendations \u2795 Plan an effective dosing cycle!","breadcrumb":{"@id":"https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/steroids-to-buy.com\/product\/swiss-pharma-trenbolon-e-200-mg-10-ampere\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/steroids-to-buy.com\/"},{"@type":"ListItem","position":2,"name":"Swiss Pharma Trenbolon E 200 mg 10 Ampere"}]},{"@type":"WebSite","@id":"https:\/\/steroids-to-buy.com\/#website","url":"https:\/\/steroids-to-buy.com\/","name":"Steroids To Buy","description":"","publisher":{"@id":"https:\/\/steroids-to-buy.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/steroids-to-buy.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/steroids-to-buy.com\/#organization","name":"Steroids To Buy","url":"https:\/\/steroids-to-buy.com\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/steroids-to-buy.com\/#\/schema\/logo\/image\/","url":"https:\/\/steroids-to-buy.com\/wp-content\/uploads\/2024\/01\/17-1.svg","contentUrl":"https:\/\/steroids-to-buy.com\/wp-content\/uploads\/2024\/01\/17-1.svg","width":210,"height":50,"caption":"Steroids To Buy"},"image":{"@id":"https:\/\/steroids-to-buy.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/steroids-to-buy.com\/wp-json\/wp\/v2\/product\/404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steroids-to-buy.com\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/steroids-to-buy.com\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/steroids-to-buy.com\/wp-json\/wp\/v2\/comments?post=404"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/steroids-to-buy.com\/wp-json\/wp\/v2\/media\/433"}],"wp:attachment":[{"href":"https:\/\/steroids-to-buy.com\/wp-json\/wp\/v2\/media?parent=404"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/steroids-to-buy.com\/wp-json\/wp\/v2\/product_cat?post=404"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/steroids-to-buy.com\/wp-json\/wp\/v2\/product_tag?post=404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}