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

Sin categoría

No deposit Bonuses Monte Carlo 20 free no deposit spins 2024 Online Local casino Bonus Requirements

Content Monte Carlo 20 free no deposit spins | 100 percent free Spins to the Sign up in the Fun Local casino Limited Video game Free Spins No-deposit From the 777 Gambling enterprise That is helpful for many who wear’t want to be limited by wagering requirements and other incentive terms. However, get this to […]

No deposit Bonuses Monte Carlo 20 free no deposit spins 2024 Online Local casino Bonus Requirements Leer más »

No-deposit Incentives Nordicbet casino signup bonus 2024 Online Gambling establishment Bonus Requirements

Articles Free Revolves for the Join at the Fun Local casino: Nordicbet casino signup bonus Limited Games Totally free Revolves No-deposit At the 777 Local casino That is beneficial if you don’t desire to be limited by wagering criteria or other incentive terms. But not, get this to choice beforehand by using the free revolves,

No-deposit Incentives Nordicbet casino signup bonus 2024 Online Gambling establishment Bonus Requirements Leer más »

one hundred 50 free spins Monopoly on registration no deposit Free Revolves No deposit Necessary Victory Real money

Content 50 free spins Monopoly on registration no deposit | Win the newest Scary Festival Top Right up Excitement and other Hot Advertisements Eligible Video game No-deposit Added bonus A great $a hundred no-put bonus also offers an amazing possible opportunity to dive to the on line gambling community having generous added bonus bucks. By

one hundred 50 free spins Monopoly on registration no deposit Free Revolves No deposit Necessary Victory Real money Leer más »

one hundred Totally free Revolves No deposit Needed Victory casino Happyluke withdrawal Real cash

Posts Win the fresh Scary Festival Peak Upwards Thrill or any other Sexy Offers: casino Happyluke withdrawal Qualified Game No deposit Added bonus An excellent $100 zero-put incentive also offers a great opportunity to plunge for the on the web gambling industry with nice extra bucks. Following the book, you are able to allege their

one hundred Totally free Revolves No deposit Needed Victory casino Happyluke withdrawal Real cash Leer más »

Fruit Zen Slot Canada Remark Demonstration & Free Play casino Ice $100 free spins RTP Consider

Content Casino Ice $100 free spins – Fresh fruit Zen Position Signs Explained Extra features one offer all twist Once this bonus game are caused, you can get respins, and then you can casino Ice $100 free spins also rating extra respins if you house to the more Nuts icons through the Totally free Respins

Fruit Zen Slot Canada Remark Demonstration & Free Play casino Ice $100 free spins RTP Consider Leer más »

Good fresh Wild Vegas casino bonus 100 fruit Zen Position Canada Review Trial & Free Enjoy RTP Take a look at

Content Good fresh fruit Zen Position Symbols Informed me – Wild Vegas casino bonus 100 Incentive has you to definitely offer the spin If this bonus online Wild Vegas casino bonus 100 game are triggered, you will get respins, and after that you may also get extra respins if you home to the far more

Good fresh Wild Vegas casino bonus 100 fruit Zen Position Canada Review Trial & Free Enjoy RTP Take a look at Leer más »

100 Aztec Treasures real money pokies percent free Slots Totally free Online casino games Online

Blogs Free Revolves – Aztec Treasures real money pokies Better Investing Online slots games the real deal Profit the usa 2024 Research Incentives Real cash Ports If you’d want to play bucks online game, please go to the a real income slots webpage. When you are familiar with Atlantic Town or Vegas Boulevard, you know

100 Aztec Treasures real money pokies percent free Slots Totally free Online casino games Online Leer más »

Free Harbors 100 percent imperative hyperlink free Online casino games Online

Articles Imperative hyperlink: 100 percent free Spins Best Investing Online slots the real deal Profit the united states 2024 Study Bonuses A real income Ports If you would choose to play bucks video game, please go to our real imperative hyperlink cash ports web page. If you are used to Atlantic Town otherwise Vegas Boulevard,

Free Harbors 100 percent imperative hyperlink free Online casino games Online Leer más »