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

Sin categoría

Directory of Casinos on the internet, Real money casino Ultra Hot Deluxe Gaming Internet sites 2024

Blogs Make minimal put | casino Ultra Hot Deluxe Real time Broker Video game Best $10 Put Slots The newest $ten acceptance extra is only available on the original deposit and will come in several forms. You should buy a full report on various acceptance incentives right here. While you are you will find gambling […]

Directory of Casinos on the internet, Real money casino Ultra Hot Deluxe Gaming Internet sites 2024 Leer más »

Best On-line casino Philippines 2024 A real classic 6 reel slots income Game

Articles Classic 6 reel slots | Awesome Harbors Gambling establishment What things to Come across When shopping for The major Ten On the internet Gambling enterprises At the same time, to own dining table avid gamers, headings such as Infinite Black-jack and Lightning Roulette by Development are typically sensed some of the best. QueenSpins Gambling

Best On-line casino Philippines 2024 A real classic 6 reel slots income Game Leer más »

Greatest machance casino app Internet casino Philippines 2024 Real money Games

Posts Machance casino app | Awesome Harbors Gambling establishment What you should Come across While looking for The big 10 On the web Casinos Meanwhile, to own dining table gamers, titles including Infinite Blackjack and you may Lightning Roulette by Development are usually felt the very best. QueenSpins Gambling enterprise now offers an attractive package

Greatest machance casino app Internet casino Philippines 2024 Real money Games Leer más »

Best On-line casino Philippines toki time casinos 2024 Real money Games

Content Very Ports Local casino: toki time casinos Things to Find When shopping for The big Ten On line Casinos At the same time, for table gamers, titles including Unlimited Blackjack and Lightning Roulette from the Progression are typically sensed the best. QueenSpins Local casino now offers a stylish package out of 125 100 percent

Best On-line casino Philippines toki time casinos 2024 Real money Games Leer más »

Best On-line casino Top Cat slot Philippines 2024 Real money Games

Blogs Top Cat slot | Extremely Ports Gambling establishment What you should Come across While looking for The big 10 On the internet Casinos Meanwhile, to own table gamers, titles such Infinite Black-jack and you can Super Roulette from the Evolution are generally felt the best. QueenSpins Local casino now offers a nice-looking deal of

Best On-line casino Top Cat slot Philippines 2024 Real money Games Leer más »

Greatest United states Shell out From Magic Love free spins the Mobile phone Casinos 2024

Posts Magic Love free spins – Spend because of the Mobile Running Times and you will Charge SlotoNights The issue is you can usually merely withdraw having a technique you’ve used in order to Magic Love free spins deposit. So if you’ve just ever before transferred through cellular phone in the a gambling establishment then

Greatest United states Shell out From Magic Love free spins the Mobile phone Casinos 2024 Leer más »

Better On-line casino Philippines 2024 A real income intense casino app login Game

Content Super Harbors Local casino | intense casino app login What to See When looking for The top 10 Online Casinos At the same time, to possess table gamers, headings including Unlimited Blackjack and you may Lightning Roulette because of the Evolution are usually sensed the very best. QueenSpins Local casino also offers an appealing

Better On-line casino Philippines 2024 A real income intense casino app login Game Leer más »

Better Online casino Philippines 2024 Real cash odds of winning 50 lions Video game

Blogs Awesome Harbors Casino | odds of winning 50 lions What to See When searching for The big 10 On line Casinos At the same time, to own desk game enthusiasts, titles for example Unlimited Blackjack and you will Super Roulette from the Development are generally felt the best. QueenSpins Casino offers a stylish deal

Better Online casino Philippines 2024 Real cash odds of winning 50 lions Video game Leer más »

Spend because of the Cellular Gambling enterprises The new Casinos Accepting Mobile Rainbow Riches online slot phone Payment

Articles Wagering – Rainbow Riches online slot Best MuchBetter Casinos in the united kingdom BetMGM is one of the finest the fresh gambling enterprises to possess British players, offering tonnes away from personal harbors and a rather authentic table online game sense. The largest cellular commission system is Fruit Spend, which makes it very easy

Spend because of the Cellular Gambling enterprises The new Casinos Accepting Mobile Rainbow Riches online slot phone Payment Leer más »

Best Internet bombastic casino contact in ireland casino Philippines 2024 Real money Video game

Content Extremely Harbors Gambling enterprise – bombastic casino contact in ireland Things to Discover When searching for The top 10 On line Casinos Meanwhile, to possess desk game enthusiasts, titles including Unlimited Black-jack and you may Super Roulette by the Advancement are usually sensed the very best. QueenSpins Gambling enterprise also provides an appealing bargain

Best Internet bombastic casino contact in ireland casino Philippines 2024 Real money Video game Leer más »