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

Sin categoría

Greatest You Web based casinos 2024 Real casino Gala Bingo no deposit bonus cash Casino

Posts Casino Gala Bingo no deposit bonus – Best Listing of Online casino Bonus Also offers Making a deposit Until then, The fresh Yorkers will enjoy public gambling enterprises, that provide an engaging and court solution to gamble their most favorite game. The required on line real time gambling enterprises let you choice a real […]

Greatest You Web based casinos 2024 Real casino Gala Bingo no deposit bonus cash Casino Leer más »

500% Deposit Incentives, Most recent casino Betfair mobile Sale away from December 2024

Posts Casino Betfair mobile – Just what are no-deposit bonuses? And that bank has got the better bank account bonus? Financial away from The usa Personal Checking account You can make a very handful of interest and certainly will have fun with borrowing overseeing products using this account, although it doesn’t give much otherwise when

500% Deposit Incentives, Most recent casino Betfair mobile Sale away from December 2024 Leer más »

500% Put casino sunbingo Incentives, Current Selling out of December 2024

Articles Casino sunbingo – Exactly what are no deposit bonuses? Which bank has the better savings account bonus? Financial of America Private Family savings You can generate a highly few interest and will have fun with borrowing keeping track of equipment using this type of membership, although it doesn’t render much more in the form

500% Put casino sunbingo Incentives, Current Selling out of December 2024 Leer más »

500% Put Incentives, Newest casino Dr Vegas Sale away from December 2024

Content Casino Dr Vegas: What exactly are no deposit bonuses? And therefore bank has got the best savings account bonus? Lender of The usa Private Checking account You can earn a very handful of interest and can fool around with borrowing keeping track of devices casino Dr Vegas with this particular membership, though it doesn’t

500% Put Incentives, Newest casino Dr Vegas Sale away from December 2024 Leer más »

Shell out By the bejeweled 2 slot Mobile Gambling enterprise British Put From the Portable Costs

You could choose whether or not to have the money taken from the cellular better-right up equilibrium, your credit card or it could be put into your monthly cellular telephone expenses. For as long as the fresh gambling establishment supports PayViaPhone, you are able to create dumps with this payment method. Welcome to CasinoHEX –

Shell out By the bejeweled 2 slot Mobile Gambling enterprise British Put From the Portable Costs Leer más »

Top The new Crypto Gambling enterprises 2024 Gambling enterprises Thai Flower online casino Recognizing Bitcoin

Blogs Thai Flower online casino: MetaSpins – Common Local casino for Crypto Ports In charge Gaming inside Bitcoin Casinos Fee Methods for Real money Gambling enterprises Crypto gambling enterprises have to have certification of accepted regulators including the Malta Betting Expert or perhaps the United kingdom Gambling Payment. A reputation openness and you may stability

Top The new Crypto Gambling enterprises 2024 Gambling enterprises Thai Flower online casino Recognizing Bitcoin Leer más »

Safe & Secure Web based casinos Come across Leading United stinkin rich online casino states Gambling enterprises

Western Virginia legalized online casino games within the 2019 which have regulations making it possible for per condition’s four home-based gambling enterprises to do business with around three internet casino workers. There are already merely ten local casino sites discover regarding the county, but not. FanDuel has been around since 2009 which can be one

Safe & Secure Web based casinos Come across Leading United stinkin rich online casino states Gambling enterprises Leer más »

Greatest Real money Online casinos For the United states lucky rabbits loot slot free spins 2024

Blogs Lucky rabbits loot slot free spins – Better Casino Online game Designers Would you play casino harbors on line the real deal money? By the offering game away from many app organization, online casinos make sure a wealthy and you can ranged playing library, catering to various choice and you can choice. Which variety

Greatest Real money Online casinos For the United states lucky rabbits loot slot free spins 2024 Leer más »

Better Bitcoin Gambling enterprises Bitcoin Gambling Internet sites Igrosoft games 2024

Articles Igrosoft games | Why do Bitcoin Gambling enterprises Provide No deposit Bonuses? Max earnings Getting first to hear of new campaigns No-put bonuses are considered the extremely lucrative one of all of the crypto gambling enterprise advantages. Enabling users to earn currency to pay on the crypto gambling enterprises instead being required to make

Better Bitcoin Gambling enterprises Bitcoin Gambling Internet sites Igrosoft games 2024 Leer más »