/** * Transparent Header - Customizer. * * @package Astra * @since 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if ( ! class_exists( 'Astra_Ext_Transparent_Header_Loader' ) ) { /** * Customizer Initialization * * @since 1.0.0 */ class Astra_Ext_Transparent_Header_Loader { /** * Member Variable * * @var object instance */ private static $instance; /** * Initiator */ public static function get_instance() { if ( ! isset( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } /** * Constructor */ public function __construct() { add_filter( 'astra_theme_defaults', array( $this, 'theme_defaults' ) ); add_action( 'customize_preview_init', array( $this, 'preview_scripts' ) ); add_action( 'customize_register', array( $this, 'customize_register' ), 2 ); } /** * Set Options Default Values * * @param array $defaults Astra options default value array. * @return array */ public function theme_defaults( $defaults ) { // Header - Transparent. $defaults['transparent-header-logo'] = ''; $defaults['transparent-header-retina-logo'] = ''; $defaults['different-transparent-logo'] = 0; $defaults['different-transparent-retina-logo'] = 0; $defaults['transparent-header-logo-width'] = array( 'desktop' => 150, 'tablet' => 120, 'mobile' => 100, ); $defaults['transparent-header-enable'] = 0; /** * Old option for 404, search and archive pages. * * For default value on separate option this setting is in use. */ $defaults['transparent-header-disable-archive'] = 1; $defaults['transparent-header-disable-latest-posts-index'] = 1; $defaults['transparent-header-on-devices'] = 'both'; $defaults['transparent-header-main-sep'] = ''; $defaults['transparent-header-main-sep-color'] = ''; /** * Transparent Header */ $defaults['transparent-header-bg-color'] = ''; $defaults['transparent-header-color-site-title'] = ''; $defaults['transparent-header-color-h-site-title'] = ''; $defaults['transparent-menu-bg-color'] = ''; $defaults['transparent-menu-color'] = ''; $defaults['transparent-menu-h-color'] = ''; $defaults['transparent-submenu-bg-color'] = ''; $defaults['transparent-submenu-color'] = ''; $defaults['transparent-submenu-h-color'] = ''; $defaults['transparent-header-logo-color'] = ''; /** * Transparent Header Responsive Colors */ $defaults['transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['hba-transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['hbb-transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-header-color-site-title-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-header-color-h-site-title-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-menu-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-submenu-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-text-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-link-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['transparent-content-section-link-h-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); return $defaults; } /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ public function customize_register( $wp_customize ) { // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound /** * Register Panel & Sections */ require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/class-astra-transparent-header-panels-and-sections.php'; /** * Sections */ require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-colors-transparent-header-configs.php'; // Check Transparent Header is activated. require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-transparent-header-configs.php'; // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } /** * Customizer Preview */ public function preview_scripts() { /** * Load unminified if SCRIPT_DEBUG is true. */ /* Directory and Extension */ $dir_name = ( SCRIPT_DEBUG ) ? 'unminified' : 'minified'; $file_prefix = ( SCRIPT_DEBUG ) ? '' : '.min'; wp_enqueue_script( 'astra-transparent-header-customizer-preview-js', ASTRA_THEME_TRANSPARENT_HEADER_URI . 'assets/js/' . $dir_name . '/customizer-preview' . $file_prefix . '.js', array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_THEME_VERSION, true ); // Localize variables for further JS. wp_localize_script( 'astra-transparent-header-customizer-preview-js', 'AstraBuilderTransparentData', array( 'is_astra_hf_builder_active' => Astra_Builder_Helper::$is_header_footer_builder_active, 'is_flex_based_css' => Astra_Builder_Helper::apply_flex_based_css(), 'transparent_header_devices' => astra_get_option( 'transparent-header-on-devices' ), ) ); } } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Ext_Transparent_Header_Loader::get_instance(); xtw18387544d – Página 101 – Partidas de San Luis

xtw18387544d

The Role of Copper Peptide GHK-Cu in Bodybuilding

Copper Peptide GHK-Cu has gained significant recognition in the bodybuilding community for its potential benefits in muscle recovery and overall health. This peptide, which consists of a small protein fragment that has been demonstrated to enhance tissue repair and regeneration, serves as a powerful tool for those looking to optimize their performance in the gym. […]

The Role of Copper Peptide GHK-Cu in Bodybuilding Leer más »

The Test P 100 Effect: An In-Depth Exploration

Test P 100, or Testosterone Propionate 100, is an anabolic steroid that has gained significant popularity among bodybuilders and athletes. Known for its fast-acting nature, Test P 100 facilitates quicker results in muscle growth and performance enhancement compared to other forms of testosterone. This article delves into the effects, benefits, and considerations associated with its

The Test P 100 Effect: An In-Depth Exploration Leer más »

Eukroma Kj Cream 4 2 Yash Pharma: Anwendung und Wirkung im Insulinpräparate-Zyklus

Eukroma Kj Cream 4 2 Yash Pharma ist ein beliebtes Präparat. Informieren Sie sich über dessen Eukroma Kj Cream 4 2 apothekenpreis auf der Website der Sportapotheke in Deutschland. Inhaltsverzeichnis Was ist Eukroma Kj Cream? Anwendung im Insulinpräparate-Zyklus Wirkstoffe und deren Bedeutung Dosierung und Anwendungshinweise Nebenwirkungen und Vorsichtsmaßnahmen Fazit Was ist Eukroma Kj Cream? Eukroma

Eukroma Kj Cream 4 2 Yash Pharma: Anwendung und Wirkung im Insulinpräparate-Zyklus Leer más »

Wirkung von Test E 300 Mg Rewix und Peptiden

In der Welt der leistungssteigernden Substanzen sind Testosteron-Estern und Peptiden ein häufiges Thema. Test E 300 Mg Rewix, ein Testosteron-Ethanat, ist besonders bei Athleten und Bodybuildern beliebt. Dieser Artikel untersucht die Auswirkungen von Test E 300 Mg Rewix und die Rolle von Peptiden im Zusammenhang mit dieser Substanz. Wo finden Sie zuverlässige Informationen über Test

Wirkung von Test E 300 Mg Rewix und Peptiden Leer más »

Sustanon 250 Mg Raw Pharma: Οδηγός για Bodybuilding

Πίνακας Περιεχομένων Τι είναι το Sustanon 250 Mg; Χρησιμότητα στον αθλητισμό Προφυλάξεις και Παρενέργειες Συμπέρασμα Τι είναι το Sustanon 250 Mg; Το Sustanon 250 Mg είναι ένας συνδυασμός τεστοστερόνης, που περιέχει τέσσερις διαφορετικές ester μορφές της τεστοστερόνης. Αυτή η φόρμουλα είναι σχεδιασμένη ώστε να προσφέρει σταθερή απελευθέρωση τεστοστερόνης στο σώμα και να ενισχύει την ανάπτυξη

Sustanon 250 Mg Raw Pharma: Οδηγός για Bodybuilding Leer más »

Hodenatrophie während langer Steroidzyklen verhindern: Die Rolle von Gonadotropin

Einleitung Die Verwendung von Steroiden für den Muskelaufbau erfreut sich großer Beliebtheit, kann jedoch auch unerwünschte Nebenwirkungen mit sich bringen, wie beispielsweise Hodenatrophie. Diese tritt häufig während langer Steroidzyklen auf und kann zu einer Verringerung der Testosteronproduktion führen. In diesem Artikel werden wir untersuchen, wie Gonadotropin helfen kann, Hodenatrophie während solcher Zyklen zu verhindern. Auf

Hodenatrophie während langer Steroidzyklen verhindern: Die Rolle von Gonadotropin Leer más »

Pokie7 Casino Australia: Your Ultimate Gaming Destination

Welcome, Aussie gamers, to a deep dive into the exciting world of online casinos! If you’re on the hunt for a platform that delivers thrilling entertainment, a vast selection of games, and a user-friendly experience, then you’ve come to the right place. We’re about to explore everything that makes Pokie7 Casino Australia a standout choice

Pokie7 Casino Australia: Your Ultimate Gaming Destination Leer más »

Tropica Casino Games: Avoiding Common Pitfalls for Better Play

Stepping into the vibrant world of online gaming can be an exhilarating experience, offering a plethora of entertainment options right at your fingertips. Whether you’re a seasoned player or just starting out, understanding how to navigate the diverse offerings is key to maximizing your enjoyment and potential success. Many players are keen to explore the

Tropica Casino Games: Avoiding Common Pitfalls for Better Play Leer más »