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

Sin categoría

Finest Percentage Gateways To have Casinos on the internet

Articles How we Rates Credit card Gambling enterprises Now Look at the Email Internet poker Strategies for To experience Slots A perfect Listing To finding Your following Better Gambling enterprise Site When you done the taxation, you ought to state everything you’ve acquired within the seasons. You may also are their gambling payouts after you […]

Finest Percentage Gateways To have Casinos on the internet Leer más »

Gambling enterprise Pay Because of the Cellular phone Costs

Posts Rating Instantaneous Benefits And you can Private Bonuses In the Shell out Because of the Mobile Casinos What are the Best Real money Casinos on the internet? Try Spend By Cellular phone Statement Available at British Gambling enterprises? Although not, just remember that , Payforit was created mainly to possess places, definition you will

Gambling enterprise Pay Because of the Cellular phone Costs Leer más »

Find a very good Pay From the Cellular telephone Uk Casinos 2024

Posts The Best Pay From the Mobile Casino Site? Greatest Casinos on the internet Faqs: Spend By Cellular telephone Gambling enterprise Could you Victory Real money On the Position Games On the Cellular phone? You want Another Commission Way for Cashing Out Finest Online casino Percentage Tips In america E-wallets | Loads of deposit by

Find a very good Pay From the Cellular telephone Uk Casinos 2024 Leer más »

Pay Because of the Cell phone Statement Casinos online Inside the Canada 2024

Articles What exactly is Itunes And how Do I Shell out Which have Itunes Loans During the Internet casino? What Gambling games Do you Explore Cellular Payments? How come Pay By the Mobile Works? Best Real money Casino One Accepts Paypal Come across a trustworthy Canadian Shell out from the Mobile casino one to aids

Pay Because of the Cell phone Statement Casinos online Inside the Canada 2024 Leer más »

Better Online Shell out By the Cellular phone Casinos Uk

Posts Better Spend Because of the Mobile Casino Possibilities Not on Gamstop The way we Score United kingdom Cellular Asking Gambling enterprises Analysis Of the greatest Spend By Cellular telephone Gambling enterprises Whenever Create I Pay for The newest Deposits? Yet not, the suitable amount of video game a casino is always to offer cannot

Better Online Shell out By the Cellular phone Casinos Uk Leer más »

Common On-line casino Commission Strategies for Players To utilize

Content Free Revolves From the Shell out From the Cellular phone Casinos? Sure Excite! Payforit Shell out From the Mobile Gambling enterprises Pros and cons Of using Spend By Cellular phone Local casino Canada Solution What’s Pay From the Mobile phone Expenses Depositing And how Is it Complete? Boku Gambling enterprise Boku work within the

Common On-line casino Commission Strategies for Players To utilize Leer más »

Finest Spend By Cellular phone Gambling enterprises and Greatest Shell out Because of the Cellular Slots

Blogs Pay By Mobile phone Solution #3: Fruit Pay And you may Bing Shell out can i Pay Because of the Mobile phone Statement During the Gambling enterprise Internet sites? How will you Withdraw The Profits From the Shell out Because of the Cellular phone Membership? Better Apple Shell out Gambling enterprise Web sites In

Finest Spend By Cellular phone Gambling enterprises and Greatest Shell out Because of the Cellular Slots Leer más »

Better Pay By the Cellular phone Casinos and Greatest Shell out From the Mobile Ports

Content Spend By the Cell phone Choice #3: Apple Shell out And you may Yahoo Pay can i Shell out By the Mobile phone Costs From the Casino Websites? How will you Withdraw The Payouts From your Spend From the Mobile phone Membership? Best Fruit Spend Gambling enterprise Sites In britain To own 2024 Because

Better Pay By the Cellular phone Casinos and Greatest Shell out From the Mobile Ports Leer más »

Shell out Because of the Cellular telephone Gambling establishment Uk As well as Protection Casinos Fee Strategy 2024

Blogs The length of time Can it Capture For Deposits Showing During my Bankroll? Best All of us Betting Internet sites You could potentially Pay From the Mobile Costs Faq Finest On-line casino Percentage Steps In the usa Typically the most popular Mobile Slots Particular gambling enterprises need you to put a deposit surpassing a

Shell out Because of the Cellular telephone Gambling establishment Uk As well as Protection Casinos Fee Strategy 2024 Leer más »