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

Sin categoría

Totally free Real money Gambling establishment No-deposit Extra Online gambling Casino Incentives fruitful site August 2024

Blogs Exactly what are No-deposit Bonuses United kingdom? | fruitful site Extra Cycles and you will Free Revolves Top free slot games 100 percent free Ports versus Real cash Harbors: What things to Prefer? Introducing the best Incentives and you can Advertisements of 2024 100 percent free Slots On line To have participants, this means […]

Totally free Real money Gambling establishment No-deposit Extra Online gambling Casino Incentives fruitful site August 2024 Leer más »

Totally casino Casumo mobile free Harbors Enjoy Slot machines On the internet House from Enjoyable

Content Casino Casumo mobile | Which are the finest online slots the real deal money in 2024? Nuts Icons, Scatter Symbols, in addition to their Adaptive Efforts Simple tips to Play Fireball Video slot Online Everything you desire from the to play totally free and real cash harbors on the apple’s ios, as well as the

Totally casino Casumo mobile free Harbors Enjoy Slot machines On the internet House from Enjoyable Leer más »

100 slot online mad mad monkey percent free Ports Play Slots On the web Home from Enjoyable

Posts Which are the best online slots the real deal money in 2024?: slot online mad mad monkey Nuts Icons, Spread out Signs, as well as their Adaptive Powers How to Enjoy Fireball Casino slot games On the internet All the details you would like on the to experience totally free and you may real cash

100 slot online mad mad monkey percent free Ports Play Slots On the web Home from Enjoyable Leer más »

100 percent free jammin jars online casinos Slots Enjoy Slots On the internet House away from Fun

Articles Jammin jars online casinos | Exactly what are the best online slots games for real profit 2024? Crazy Symbols, Spread out Signs, and their Adaptive Efforts How to Gamble Fireball Slot machine game Online Everything you need regarding the to try out free and you may a real income ports to the apple’s ios, and

100 percent free jammin jars online casinos Slots Enjoy Slots On the internet House away from Fun Leer más »

Totally free slot machine strip to win Ports Play Slot machines Online Family from Fun

Blogs Do you know the greatest online slots games the real deal money in 2024? – slot machine strip to win Insane Signs, Spread out Icons, as well as their Transformative Efforts Tips Enjoy Fireball Slot machine On line All the information you need regarding the to try out 100 percent free and you will real

Totally free slot machine strip to win Ports Play Slot machines Online Family from Fun Leer más »

Multiple Diamond Slot Video game by IGT Enjoy On the internet at casino deposit 10 get 50 no cost

Posts Casino deposit 10 get 50 | Ready to play Triple Jackpot Treasures the real deal? Enjoy Triple Diamond Slots today! Picking the best Denomination for the Wager Peak Wheel out of Chance: Multiple Tall Twist Slot Faqs But no matter what successful casino deposit 10 get 50 integration you get, you can always score

Multiple Diamond Slot Video game by IGT Enjoy On the internet at casino deposit 10 get 50 no cost Leer más »

Greatest Debit Card Casinos press this site on the internet 2024 The top 10 selections

Articles Debit Card Casinos on the internet in america: press this site #15. BetRivers:  Huge Distinct Real time Dealer Game #13. FanDuel: Private Cellular Application To possess Quick Gameplay Probably the most common card providing entities are Visa and you can Charge card, that are recognized at just regarding the people gambling enterprise playing website. They

Greatest Debit Card Casinos press this site on the internet 2024 The top 10 selections Leer más »

Respected & Independent You On-line casino Reviews casino guts login 2024

Blogs A real income casinos against most other online gambling: casino guts login Online slots Harbors Usually, cellular gambling establishment internet sites render the normal provides for the programs. Exactly what tends to make cellular casinos thus enticing is that you can gamble during the as numerous ones as you wish with no so you

Respected & Independent You On-line casino Reviews casino guts login 2024 Leer más »

AnekaSlots: Daftar Situs Judi Slot On triple dragon $1 deposit the web Terpercaya & Terbaik

Posts Dynamic Ports: triple dragon $1 deposit All of our greatest progressive jackpot gambling enterprises in the usa Slot Idea 10: Make use of Incentives And you may Advertisements The brand new Appeal of Free Position Online game Type Free online Slots You might Play for Totally free To your Our Web site We’ve tested, analyzed,

AnekaSlots: Daftar Situs Judi Slot On triple dragon $1 deposit the web Terpercaya & Terbaik Leer más »

10 Best Real cash Online casinos for Us Professionals inside wheel of fortune video slot the 2024

Posts Wheel of fortune video slot – In control Playing around australia Best Live Local casino Internet sites to have December 2024 Cellular casino bonuses Discuss 100 percent free video game before to play the real deal currency Ample sign-up incentives are among the most significant advantages of internet casino gaming. You might even be

10 Best Real cash Online casinos for Us Professionals inside wheel of fortune video slot the 2024 Leer más »