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

Sin categoría

Best $5 Deposit is machance casino legit Casinos inside the Canada 2024: Choose the best

Posts Is machance casino legit: Other sorts of minimum deposit inside Usa casinos No-Deposit Incentives This is actually the number 1 reason for welcome bonuses because they provide a very strong number of extra value once you help make your initial deposit at the an excellent $5 casino. They are able to even bring across […]

Best $5 Deposit is machance casino legit Casinos inside the Canada 2024: Choose the best Leer más »

Better novomatic technologies games $5 Deposit Gambling enterprises in the Canada 2024: Select the right

Articles Novomatic technologies games – Other kinds of minimum put within the Usa gambling enterprises No-Deposit Bonuses This is basically the number one function of invited bonuses because they provide an extremely strong quantity of extra value when you make your first deposit in the an excellent $5 local casino. They are able to also

Better novomatic technologies games $5 Deposit Gambling enterprises in the Canada 2024: Select the right Leer más »

Pay by Cellular Casino Uk Mobile phone Expenses or Borrowing from the casinos4u mobile login bank Deposit

Blogs Greatest Game to try out that have a mobile Local casino Bonus – casinos4u mobile login No-deposit Added bonus Should your limitation try $200, something more than one to matter would be taken out of what you owe during the one-point. The fresh time of that action may differ for the user and you

Pay by Cellular Casino Uk Mobile phone Expenses or Borrowing from the casinos4u mobile login bank Deposit Leer más »

Better Web based casinos for all of us People 2024 Real vulkan vegas casino promo codes 2026 money CC

Content Vulkan vegas casino promo codes 2026: PokerStars Gambling establishment Online casino Incentive Alternatively, they have been always completely recommended, and you are never ever obligated to take on him or her from the legitimate casinos. Every person website have dozens of company readily available inspite of the above being the top of one’s heap.

Better Web based casinos for all of us People 2024 Real vulkan vegas casino promo codes 2026 money CC Leer más »

Easiest Online casinos in the usa Secure casino Queen of Hearts Betting within the 2024

Articles Casino Queen of Hearts: Video poker Which are the Finest On-line casino Software Designers? Do i need to enjoy bingo on the internet the real deal money? Refund granted while the low-withdrawable Gambling establishment web site credit you to definitely ends seven days once receipt. Only earnings away from casino incentives played to the

Easiest Online casinos in the usa Secure casino Queen of Hearts Betting within the 2024 Leer más »

Better casino Kerching no deposit bonus A real income Web based casinos 2024 Finest Payout Online casinos

Content The newest Betting Information – December 2024 | casino Kerching no deposit bonus Bringing an excellent PA Casino Extra Countless Game To understand more about BetOnline’s poker area try a sanctuary to own professionals seeking to variety and you may competition, having video game for example Texas Keep’em and you may Omaha Casino poker

Better casino Kerching no deposit bonus A real income Web based casinos 2024 Finest Payout Online casinos Leer más »

Best 4 no deposit free spins online pokies india Local casino Sites one to Accept Cellular telephone Statement 2024

Blogs No deposit free spins online pokies india | Using With Prepaid Credit The brand new pay because of the mobile phone gambling enterprises United kingdom 2024 Benefits away from GamStop-100 percent free Options to expend By Cellular Gambling enterprises More often than not it’ll sit-in the back ground harvesting research including charge card details,

Best 4 no deposit free spins online pokies india Local casino Sites one to Accept Cellular telephone Statement 2024 Leer más »

Finest A real income Casinos on the internet 2024 Better Payout Casinos on the Resident play slot internet

Blogs The newest Gambling Development – December 2024 | Resident play slot Taking an excellent PA Casino Bonus Hundreds of Online game To understand more about BetOnline’s casino poker place are a refuge to possess professionals looking to variety and you will competition, having game for example Texas Keep’em and Omaha Poker taking cardio phase.

Finest A real income Casinos on the internet 2024 Better Payout Casinos on the Resident play slot internet Leer más »

No deposit Extra Gambling enterprises Ireland Best Offers within how to withdraw from ice casino the December 2024

Content How to withdraw from ice casino – Spy Harbors Knowledge Greeting Incentive Fine print How you can make sure you’lso are joining and you can to try out in the a legit internet casino otherwise sweepstakes gambling establishment is always to stick with platforms found here at Discusses. A zero-put added bonus gives players

No deposit Extra Gambling enterprises Ireland Best Offers within how to withdraw from ice casino the December 2024 Leer más »