/** * 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(); Sin categoría – Página 70829 – Partidas de San Luis

Sin categoría

Ultimate Insights into Mail Order Bride Websites

With the rise of digital connectivity, connecting with potential spouses globally is now within easy reach https://www.themailorderbride.com/. The role of mail order bride websites in this quest is significant. Choosing a reputable mail order bride website demands caution. Understanding how to select legitimate mail order bride websites is key. Understanding Mail Order Bride Sites These […]

Ultimate Insights into Mail Order Bride Websites Leer más »

Esteroides Anabólicos: Comprar en España de Forma Segura y Legal

Los esteroides anabólicos son compuestos que imitan la acción de la testosterona en el cuerpo humano, promoviendo el crecimiento muscular y la mejora del rendimiento deportivo. En España, la compra y uso de estos compuestos puede generar dudas y confusiones entre quienes desean utilizarlos, ya sea para mejorar su físico o alcanzar objetivos deportivos. En

Esteroides Anabólicos: Comprar en España de Forma Segura y Legal Leer más »

Primobolan Metenolon Injektionen Kur: Eine Ausführliche Anleitung für Sportler in Belgien

Inhaltsverzeichnis Einführung Was ist Primobolan? Wirkungen und Vorteile Dosierung und Anwendung Nebenwirkungen Rechtliche Aspekte in Belgien Schlussfolgerung Einführung Die Verwendung von Steroiden im Sport ist ein umstrittenes Thema, insbesondere wenn es um die Leistungssteigerung geht. In diesem Artikel werden wir uns eingehend mit Metenolon, besser bekannt als Primobolan, sowie den Injektionen und den damit verbundenen

Primobolan Metenolon Injektionen Kur: Eine Ausführliche Anleitung für Sportler in Belgien Leer más »

Vardenafil Une Révolution pour les Athlètes Performance et Endurance

Le Vardenafil est bien plus qu’un simple médicament, c’est un allié de choix pour les sportifs aspirant à optimiser leur performance. Connu pour son efficacité, ce produit est souvent utilisé pour améliorer l’endurance physique et soutenir les efforts lors des séances d’entraînement intenses. Grâce à sa capacité à augmenter le flux sanguin, le Vardenafil aide

Vardenafil Une Révolution pour les Athlètes Performance et Endurance Leer más »

Découvrez les bienfaits des Tablettes de Clenbuterol Genesis pour le sport

Les Tablettes de Clenbuterol Genesis sont devenues un incontournable parmi les athlètes et les passionnés de musculation en raison de leurs propriétés uniques. Conçu spécifiquement pour améliorer les performances sportives, ce supplément est prisé pour sa capacité à brûler les graisses tout en préservant la masse musculaire. En optimisant le métabolisme et en augmentant l’énergie,

Découvrez les bienfaits des Tablettes de Clenbuterol Genesis pour le sport Leer más »

Understanding Yohimbine Dosage: Guidelines and Considerations

Yohimbine is a naturally occurring alkaloid derived from the bark of the Yohimbe tree, and is often used as a supplement for various purposes including increasing libido and promoting fat loss. However, determining the right dosage is crucial for both efficacy and safety. On https://dostinexcycle.com/item/other-drugs/yohimbine/ you get reliable information about Yohimbine, including areas of application,

Understanding Yohimbine Dosage: Guidelines and Considerations Leer más »

You might gamble free ports no packages right here at the VegasSlotsOnline

Our purpose is to be the https://totogamingodds.dk/kampagnekode/ quantity 1 seller from totally free slots on line, and that’s why you will find tens of thousands of demonstration games towards our web site. Adjust so you’re able to real money enjoy from 100 % free harbors favor an effective recommended local casino to the the site,

You might gamble free ports no packages right here at the VegasSlotsOnline Leer más »

That is what can make an online gambling enterprise unlike an excellent sweepstakes gambling enterprise or an online crypto casino

Judge online casino says will still be rare in the us � nowadays, only seven regarding 50 states give a real income online casinos. If the a website fails one element of that it security look at, they never produces our web site, it doesn’t matter how highest the main benefit or even the online

That is what can make an online gambling enterprise unlike an excellent sweepstakes gambling enterprise or an online crypto casino Leer más »

Every online slots games to the Chipy is actually 100 % free and you will gamble all of them in place of joining an account

You can try most other variants too, together with free online blackjack or live dealer game You possibly can make enormous payouts whenever to try out free slots however you should never cash out them. They might incorporate unique symbols and you can have a lot more reels, multipliers, or other sort of position has.

Every online slots games to the Chipy is actually 100 % free and you will gamble all of them in place of joining an account Leer más »