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

Sin categoría

Winterberries worldmatch game list 2 Position Enjoy Free Demonstration, Online game Remark 2024

Posts Winterberries Slot Requirements: RTP, Volatility, Max Win & Motif Highest RTP Online slots games How do i guarantee the security and fairness away from online slots? What is the Spread Symbol inside Winterberries 2? Gator Silver Gigablox Position Faqs If you wish to learn the best places to play the Winner from the brand […]

Winterberries worldmatch game list 2 Position Enjoy Free Demonstration, Online game Remark 2024 Leer más »

Winterberries worldmatch video game list 2 Slot Enjoy 100 percent free Trial, Game Opinion 2024

Posts Winterberries Position Specifications: RTP, Volatility, Maximum Winnings & Theme Highest RTP Online slots games How can i ensure the defense and you may equity away from online slots? What is the Scatter Icon inside Winterberries 2? Gator Silver Gigablox Slot Faqs If you’d like to know where to have fun with the Winner of

Winterberries worldmatch video game list 2 Slot Enjoy 100 percent free Trial, Game Opinion 2024 Leer más »

Winterberries worldmatch video game listing 2 Position Enjoy 100 percent free Trial, Online game Comment 2024

Blogs Winterberries Position Needs: RTP, Volatility, Max Earn & Motif Large RTP Online slots How do i ensure the protection and equity out of online slots games? What’s the Spread out Icon in the Winterberries 2? Gator Gold Gigablox Slot Faqs If you would like discover where you should have fun with the Champion of

Winterberries worldmatch video game listing 2 Position Enjoy 100 percent free Trial, Online game Comment 2024 Leer más »

Gamble Owl Eyes Position because of the NextGen Totally free

Articles Money Master totally free revolves & gold coins Oct 5 No-deposit 100 percent free Spins Faq’s We Listen Because your Advice Issues Satisfy Wagering Requirements Cash-out quicker without worrying regarding the undetectable terminology and no betting bonuses otherwise rating extra bonus cash on the put having reload bonuses. All our advised casinos features licenses

Gamble Owl Eyes Position because of the NextGen Totally free Leer más »

Play Owl Eyes Position from the NextGen 100 percent free

Posts Coin Master totally free revolves & gold coins October 5 No deposit 100 percent free Spins Frequently asked questions We Tune in Because your Opinion Matters Satisfy Betting Requirements Cash-out reduced without worrying regarding the undetectable words without kiwislot.co.nz proceed this link now wagering incentives or score more extra cash on the put that

Play Owl Eyes Position from the NextGen 100 percent free Leer más »

Gamble Owl Vision Slot by the NextGen 100 percent free

Blogs Money Learn totally free revolves & coins October 5 No deposit Free Revolves Faqs I Pay attention Because your Advice Matters Meet Wagering Criteria Cash out shorter without worrying regarding the invisible terminology no wagering incentives otherwise score more extra money on the put having reload incentives. All our ideal casinos has permits of

Gamble Owl Vision Slot by the NextGen 100 percent free Leer más »

Best Online slots games the real deal Currency: ten Greatest Gambling establishment Sites to own 2024

Content Progressive Jackpot Harbors: Chasing after Lifestyle-Switching Wins XO Manowar Slot machine game Full Review and 100 percent free Demo Games Greatest Us Online casinos for real Currency Ports In charge Gambling Better A real income Position Casino Internet sites to have XO Manowar Position Online game Even if these harbors is lesser known now,

Best Online slots games the real deal Currency: ten Greatest Gambling establishment Sites to own 2024 Leer más »

Better Online slots games the real deal Money: 10 Greatest Casino Sites to possess 2024

Posts Progressive Jackpot Slots: Chasing Life-Modifying Wins XO Manowar Slot machine Full Comment and Totally free Demo Video game Greatest United states Casinos on the internet for real Currency Slots In control Playing Best Real money Position Casino Websites for XO Manowar Slot Online game Even if these types of harbors is actually less popular

Better Online slots games the real deal Money: 10 Greatest Casino Sites to possess 2024 Leer más »

Greatest Online slots games the real deal Currency: 10 Greatest Gambling establishment Internet sites to have 2024

Content Progressive Jackpot Slots: Going after Lifestyle-Changing Gains XO Manowar Casino slot games Complete Remark and Totally free Demonstration Video game Better All of us Casinos on the internet for real Money Harbors In charge Playing Better Real cash Position Casino Websites to own XO Manowar Position Games Even though such harbors is actually lesser

Greatest Online slots games the real deal Currency: 10 Greatest Gambling establishment Internet sites to have 2024 Leer más »