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

Sin categoría

10 Best Wagering Web sites slot diamond mine regarding the U S.: Best Web sites On the web Dec. 2024

Blogs Tennessee Online gambling 2024: TN Gaming Sites & Casinos – slot diamond mine Real cash extra codes And therefore internet casino programs pay a real income? The fresh variety ensures that all the visit to an online gambling establishment inside the us is a new adventure, having something to fit all of the preference […]

10 Best Wagering Web sites slot diamond mine regarding the U S.: Best Web sites On the web Dec. 2024 Leer más »

Enjoy Happy Wild birds Position Get the facts On line The real deal Money or Totally free Join Today

Content HappySlots Casino Opinion Conclusie: Get the facts LuckyBirdCasino.com Kundenservice Gambling enterprise for real currency – manage your virtual account When you get the coin well worth for your game, all your wins is actually increased from this value. As a result, the brand new symbol thinking to your position’s paytable can alter according to

Enjoy Happy Wild birds Position Get the facts On line The real deal Money or Totally free Join Today Leer más »

Better Payment Casinos 2024 casino grey eagle free spins The fastest Winnings

Posts Casino grey eagle free spins | Tips for Making sure Reduced Payouts Varied Gambling enterprise Financial Alternatives Effective e-bag Services stick out because the quickest payment means on the field of casinos on the internet. These services focus on price and comfort, providing participants a sleek way of withdrawals. That have elizabeth-wallets, profiles sense

Better Payment Casinos 2024 casino grey eagle free spins The fastest Winnings Leer más »

Better Payout Gambling enterprises 2024 incredible hulk slot play for real money The fastest Earnings

Blogs Methods for Making certain Quicker Winnings | incredible hulk slot play for real money Diverse Gambling establishment Banking Choices Effective age-purse Features excel while the quickest payment approach from the arena of casinos on the internet. These incredible hulk slot play for real money types of services prioritize rate and you will benefits, providing

Better Payout Gambling enterprises 2024 incredible hulk slot play for real money The fastest Earnings Leer más »

Best Casinos on the cash coaster $1 deposit internet in the India 2024 Top Web sites

Articles The newest Casinos on the internet by Class: cash coaster $1 deposit Just what Might have to go Completely wrong Whenever Gaming during the a different Gambling establishment Online Canada Scientific Advances in the Online casinos United kingdom Great britain Gaming Fee otherwise UKGC is responsible for monitoring these providers and you can guaranteeing

Best Casinos on the cash coaster $1 deposit internet in the India 2024 Top Web sites Leer más »

Greatest Commission Casinos 2024 casino jet bingo 100 free spins The fastest Winnings

Blogs Casino jet bingo 100 free spins – Tips for Making sure Smaller Earnings Diverse Gambling enterprise Financial Options Efficient elizabeth-purse Functions excel while the fastest payment means in the arena of casinos on the internet. These types of services focus on rates and comfort, giving players a smooth approach to withdrawals. Which have e-purses,

Greatest Commission Casinos 2024 casino jet bingo 100 free spins The fastest Winnings Leer más »

Élvezd a 100%-ban ingyenes nyerőgépes játékokat letöltés nélkül, csak élvezetesen!

Bejegyzések Az Olümposz kapui – Gyakorlati játék Az új kiadások nagyon korai használata Számos más kaszinójáték, bónusz, interaktív történetvideók és „húsvéti tojások” is elérhetők, egészen a kisebb kezdőjátékokig. Az ingyenes online nyerőgépek számos ösztönző funkciót tartalmaznak, hogy érdekessé tegyék az új játékot.

Élvezd a 100%-ban ingyenes nyerőgépes játékokat letöltés nélkül, csak élvezetesen! Leer más »

Choy Sunshine Doa pozíció az Aristocrat fogadásnak köszönhetően teljesen ingyenes

Blogok A Choy Sunshine Doa bónusz funkciói valójában működnek Choy Sun Doa online nyerőgép rendelkezik Legnépszerűbb nyerőgép A videojáték elsajátításával az oldalak érzékszervükből is láthatják a termék minőségét. A minimális tét mindössze 0,20 dollár, és teljesen mobilra optimalizált, így ezt megteheti. De csak böngésszen a gombok között – nem fogja megkapni a szokásos okot a

Choy Sunshine Doa pozíció az Aristocrat fogadásnak köszönhetően teljesen ingyenes Leer más »

Ingyenes online nyerőgépek Élvezd a nyerőgépes játékokat szórakozásból

Cikkek Ingyenes Pokies vs. Valódi Jövedelmet Ausztráliában Felvevő Pokies Különbségek: Ingyenes nyerőgépek és valódi pénzes nyerőgépek A legjobb webes kaszinók, amelyek 100%-ban ingyenesen játszanak nyerőgépeken Általában kéz a kézben játszanak a legjobb szerencsejáték-üzemeltetőkkel, hogy a fogadók 100%-ban ingyen játszhassanak a legújabb nyerőgépeken. Ha elveszíted ezt az „minden vagy semmi” kört, elveszíted az összes nyereményedet. A

Ingyenes online nyerőgépek Élvezd a nyerőgépes játékokat szórakozásból Leer más »

Top 10 Real money Online casinos for 1 free with 10x multiplier people People December 2024

Blogs Set of Court Web based casinos in the us in the 2024 – 1 free with 10x multiplier Sloto’Dollars Local casino Do The fresh Account! A few of the best casinos on the internet one to focus on All of us players is Ignition Local casino, Cafe Local casino, and DuckyLuck Gambling establishment. These

Top 10 Real money Online casinos for 1 free with 10x multiplier people People December 2024 Leer más »