/** * 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(); Public – Página 12 – Partidas de San Luis

Public

Descubre los secretos para ganar en Malina Casino exitosamente Los casinos han capturado la atención de personas de todo

zk_82df78d5f1e34950977064b7cbb3e742 Descubre los secretos para ganar en Malina Casino exitosamente Los casinos han capturado la atención de personas de todo el mundo, ofreciendo entretenimiento emocionante y la posibilidad de ganar grandes premios. Sin embargo, para ganar en el casino de manera exitosa, es crucial comprender los fundamentos de los juegos, las estrategias adecuadas y los […]

Descubre los secretos para ganar en Malina Casino exitosamente Los casinos han capturado la atención de personas de todo Leer más »

Discover the secrets to win at Malina Casino: essential strategies El mundo de los casinos es fascinante, lleno de emoci

zk_682bbb6e68b748809d75e1b3f3e86f62 Discover the secrets to win at Malina Casino: essential strategies El mundo de los casinos es fascinante, lleno de emoción y oportunidades de ganar. A medida que más personas se sumergen en esta realidad, es esencial comprender los secretos y estrategias que pueden aumentar nuestras posibilidades de éxito. En este artículo, exploraremos aspectos clave

Discover the secrets to win at Malina Casino: essential strategies El mundo de los casinos es fascinante, lleno de emoci Leer más »

Discover the secrets to winning at a casino successfully Los casinos han sido una fuente de entretenimiento y emoción du

zk_edb9826fe72842f0b608ba00dd1306c9 Discover the secrets to winning at a casino successfully Los casinos han sido una fuente de entretenimiento y emoción durante siglos. Con la evolución del juego, los casinos en línea han cobrado protagonismo, ofreciendo acceso a una amplia gama de juegos desde la comodidad de tu hogar. Sin embargo, es crucial conocer los secretos

Discover the secrets to winning at a casino successfully Los casinos han sido una fuente de entretenimiento y emoción du Leer más »

Nyertes stratégiák a szerencsejáték világában Hogyan válasszuk ki a legjobbat

Nyertes stratégiák a szerencsejáték világában Hogyan válasszuk ki a legjobbat A szerencsejáték pszichológiája A szerencsejáték nem csupán a véletlen játéka, hanem a pszichológiai aspektusok is jelentős szerepet játszanak. A játékosok döntéseit gyakran befolyásolják érzelmi állapotuk, előző tapasztalataik és a környezeti hatások. Például a győzelem öröme vagy a veszteség miatti csalódottság erősen formálhatja a következő fogadási

Nyertes stratégiák a szerencsejáték világában Hogyan válasszuk ki a legjobbat Leer más »

Exploring the differences between online and offline casinos Which is right for you

Exploring the differences between online and offline casinos Which is right for you The Convenience of Online Casinos Online casinos have revolutionized the way players engage with gambling, providing unprecedented convenience. Players can access a variety of games from the comfort of their homes or even on the go, utilizing mobile devices. This flexibility allows

Exploring the differences between online and offline casinos Which is right for you Leer más »

Descubre los secretos para ganar en Malina Casino y maximizar tu diversión

zk_b8d0089c4746435dbc0d55960b0d5ff9 El mundo de los casinos es fascinante y está lleno de emoción. Muchos buscan no solo la diversión de jugar, sino también estrategias para maximizar sus posibilidades de ganar. En este artículo, exploraremos diversos aspectos de los casinos, tanto físicos como en línea, y cómo pueden mejorar tu experiencia de juego. Nos enfocaremos en

Descubre los secretos para ganar en Malina Casino y maximizar tu diversión Leer más »

Unlock the secrets to mastering the casino experience

zk_71662c127d784eb095d72992804a6df7 Mastering the casino experience involves understanding game selection, strategies, and the importance of security. Whether you’re stepping into a physical casino or exploring an online platform like Lizaro Casino, knowing what to expect and how to navigate the gaming landscape will enhance your enjoyment. This article will delve into the crucial elements of engaging

Unlock the secrets to mastering the casino experience Leer más »

La evolución histórica del juego de los antiguos aztecas a Celuapuestas link app

La evolución histórica del juego de los antiguos aztecas a Celuapuestas link app Los juegos en la cultura azteca Los antiguos aztecas tenían una rica tradición de juegos que no solo eran una forma de entretenimiento, sino que también desempeñaban un papel importante en su cultura y religión. Uno de los juegos más destacados era

La evolución histórica del juego de los antiguos aztecas a Celuapuestas link app Leer más »

Zukünftige Entwicklungen im Glücksspiel Was erwartet uns

Zukünftige Entwicklungen im Glücksspiel Was erwartet uns Technologische Innovationen im Glücksspiel Die Glücksspielbranche steht vor einer bemerkenswerten Transformation durch technologische Innovationen. Virtual Reality (VR) und Augmented Reality (AR) sind zwei der aufregendsten Entwicklungen, die das Spielerlebnis erheblich verändern könnten. Mit VR können Spieler in immersive Casino-Welten eintauchen, die das Gefühl eines realen Casinos bieten, während

Zukünftige Entwicklungen im Glücksspiel Was erwartet uns Leer más »

Mythen über Glücksspiele weit verbreitete Irrtümer entlarvt

Mythen über Glücksspiele weit verbreitete Irrtümer entlarvt Glücksspiel ist immer Glückssache Ein weit verbreiteter Mythos über Glücksspiele ist die Annahme, dass der Ausgang immer ausschließlich vom Glück abhängt. Während Zufall in vielen Spielen eine Rolle spielt, sind viele der modernen Glücksspiele, insbesondere in Online-Casinos, auch stark von mathematischen Wahrscheinlichkeiten und Strategien geprägt. Spieler, die sich

Mythen über Glücksspiele weit verbreitete Irrtümer entlarvt Leer más »