/** * 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 13 – Partidas de San Luis

Public

La tecnología revolucionando el mundo de los casinos modernos

La tecnología revolucionando el mundo de los casinos modernos La evolución de los casinos físicos a los casinos en línea La industria de los casinos ha experimentado una transformación significativa con la llegada de la tecnología digital. Tradicionalmente, los casinos físicos eran el único lugar donde los jugadores podían disfrutar de sus juegos favoritos. Sin […]

La tecnología revolucionando el mundo de los casinos modernos Leer más »

Unlock the ultimate strategies for winning at the casino Understanding the dynamics of a casino environment is essential

Unlock the ultimate strategies for winning at the casino Understanding the dynamics of a casino environment is essential for players looking to enhance their gaming experience. Casinos, whether online like lizaro-casinos.co.uk or physical establishments, offer a wide range of games and experiences that can be both thrilling and rewarding. With over 10,000 games available, including

Unlock the ultimate strategies for winning at the casino Understanding the dynamics of a casino environment is essential Leer más »

Understanding gambling strategies for beginners

Understanding gambling strategies for beginners Introduction to Gambling Strategies Gambling can be an exciting and potentially lucrative activity, but it requires a good understanding of various strategies to maximize your chances of success. For beginners, diving into the world of gambling without proper knowledge can lead to significant losses. Therefore, grasping fundamental strategies is essential

Understanding gambling strategies for beginners Leer más »

Teknologiens innvirkning på spillopplevelsen i kasinoer

Teknologiens innvirkning på spillopplevelsen i kasinoer Den digitale revolusjonen i kasinoer De siste årene har teknologi revolusjonert måten vi spiller på kasinoer, både fysisk og online. Med fremveksten av digitale plattformer har spillopplevelsen blitt mer tilgjengelig og variert enn noen gang. Nettcasinoer, som miki casino online, har gjort det mulig å spille favorittspillene fra komforten

Teknologiens innvirkning på spillopplevelsen i kasinoer Leer más »

Gewinnen im Casino Strategien für nachhaltigen Erfolg

Gewinnen im Casino Strategien für nachhaltigen Erfolg Grundlagen des Casino Spiels Bevor man in die Welt der Casinos eintaucht, ist es wichtig, die Grundlagen der verschiedenen Spiele zu verstehen. Jedes Casino-Spiel hat seine eigenen Regeln und Strategien. Ob es sich um Roulette, Blackjack oder Spielautomaten handelt, die Kenntnis der Spielmechanismen ist entscheidend für den Erfolg.

Gewinnen im Casino Strategien für nachhaltigen Erfolg Leer más »

Unlock the secrets to mastering casino games for big wins Understanding the ins and outs of casinos can significantly en

Unlock the secrets to mastering casino games for big wins Understanding the ins and outs of casinos can significantly enhance your gaming experience. Casinos, whether online or physical, offer a fascinating blend of thrill, entertainment, and the potential for substantial financial rewards. This article will explore essential aspects of casinos, focusing on strategies and features

Unlock the secrets to mastering casino games for big wins Understanding the ins and outs of casinos can significantly en Leer más »

Unlock the secrets to winning big at the casino Understanding the world of casinos can seem daunting, but with the right

Unlock the secrets to winning big at the casino Understanding the world of casinos can seem daunting, but with the right strategies and knowledge, players can enhance their chances of winning. This article delves into the essential aspects of casinos, offering insights on how to navigate these thrilling environments effectively. For those seeking reliable information

Unlock the secrets to winning big at the casino Understanding the world of casinos can seem daunting, but with the right Leer más »

Kulturelle Unterschiede bei Casino-Erlebnissen im internationalen Vergleich

Kulturelle Unterschiede bei Casino-Erlebnissen im internationalen Vergleich Einleitung in die Welt der Casinos Casinos sind nicht nur Orte des Glücksspiels, sondern auch kulturelle Begegnungsstätten, an denen unterschiedliche Traditionen und Verhaltensweisen aufeinandertreffen. In vielen Ländern sind Casinos tief in der Gesellschaft verwurzelt und spiegeln die jeweiligen kulturellen Werte wider. Während in einigen Regionen das Spielen eher

Kulturelle Unterschiede bei Casino-Erlebnissen im internationalen Vergleich Leer más »

Historie kasin Od starověkých her k moderním hazardním centrům

Historie kasin Od starověkých her k moderním hazardním centrům Počátky hazardních her ve starověku Historie kasin sahá až do starověkých civilizací, kdy se hazardní hry staly nedílnou součástí společenského života. V Mezopotámii, kolem roku 3000 př. n. l., byly nalezeny herní kostky, které hráči používali k různým hrám. Tyto rané formy hazardu měly nejen zábavní,

Historie kasin Od starověkých her k moderním hazardním centrům Leer más »

Promoviendo el juego responsable Claves para disfrutar sin excesos

Promoviendo el juego responsable Claves para disfrutar sin excesos La importancia del juego responsable El juego responsable es fundamental para garantizar una experiencia de entretenimiento segura y saludable. Cuando las personas participan en juegos de azar, es esencial que lo hagan con una mentalidad clara y consciente de los riesgos. Esto implica entender que el

Promoviendo el juego responsable Claves para disfrutar sin excesos Leer más »