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

Sin categoría

Gambling establishment Books: Can Gamble On casino betsson the web and In-People Such a professional

Casual professionals can always explore Vipsta, but it is attending interest really so you can people who need a lot more self-reliance and you may a smoother higher-stakes setup. Spin Samurai is actually a handy selection for participants who would like to initiate easily. Zumobet web site as well as functions well visually, providing the […]

Gambling establishment Books: Can Gamble On casino betsson the web and In-People Such a professional Leer más »

Diamond Diaries Saga Programs online 50 lions casino Enjoy

Content Diamond Treasures: A classic Match-step 3 Video game: 50 lions casino Stop Great time-Stop Puzzle Game Which one gives the best value is dependent upon what you’lso are looking for and just how long you intend to pay to play the game. For memberships, there are plenty of affordable choices, having rates between €2.29 so you

Diamond Diaries Saga Programs online 50 lions casino Enjoy Leer más »

Besplatne online igre na Pokiju Igrajte vulkan spiele kasino bonus danas!

Nije potrebno preuzimanje, nije potrebna pretplata ili dijeljenje informacija unutar aplikacije osim ako ne želite ostvariti stvarnu zaradu. Obično se otvara novi prozor preglednika preko cijelog ekrana, a HTML5 sučelje često se puni tijekom igranja igre. Igranje više zlatnika neće povećati redovni profit kao kod većine hostova.

Besplatne online igre na Pokiju Igrajte vulkan spiele kasino bonus danas! Leer más »

Anavar: Cómo Tomar Tabletas de Forma Segura y Efectiva

El Anavar, conocido químicamente como oxandrolona, es un esteroide anabólico popular que se utiliza principalmente para aumentar la masa muscular y mejorar el rendimiento físico. Sin embargo, es crucial saber cómo tomar tabletas de Anavar de manera adecuada para maximizar sus beneficios y minimizar los riesgos. https://tmcservices.es/anavar-como-tomar-tabletas-de-forma-segura-y-efectiva/ Dosis Recomendada La dosis de Anavar puede variar

Anavar: Cómo Tomar Tabletas de Forma Segura y Efectiva Leer más »

Magic math the specialist should know: Home-based boundary, RTP, and you may improvement

Online slots started given that digital brands away-out-of harbors you ing halls. Since that time, games artisans had been creating creative layouts, has, gameplay points, or other functions which can be while making ports the most preferred casino game on the internet now. Old-fashioned online slots games are made up off reels with a beneficial

Magic math the specialist should know: Home-based boundary, RTP, and you may improvement Leer más »

Magic math the specialist should know: Home-based line, RTP, and you can huge difference

Online slots started while the electronic designs out-from harbors you ing places. Ever since then, games artisans ended up being picking out innovative themes, provides, gameplay facets, or other characteristics which might be to make ports the absolute most preferred casino video game on line now. Old-fashioned online slots games are made up from reels

Magic math the specialist should know: Home-based line, RTP, and you can huge difference Leer más »

Secret math most of the pro should be aware of: Domestic line, RTP, and you may change

Online slots games become due to the fact electronic products away-away from ports your ing halls. Since that time, video http://roulettino.eu.com/nl-nl/inloggen game musicians and artists is picking out innovative templates, keeps, game play factors, or any other qualities that will be while making harbors more preferred local casino game on the internet now. Old-fashioned online

Secret math most of the pro should be aware of: Domestic line, RTP, and you may change Leer más »

On , a lucky specialist obtained C$half dozen,689,308 towards Mega Moolah position

Unlike on line headings having repaired winning possible, progressive jackpot harbors has actually a prize pool and this expands after each and every real money bet. More often than not, it’s got a great seeding amount; the newest award pool initiate from this amount and you could potentially carries on growing till the jackpot has

On , a lucky specialist obtained C$half dozen,689,308 towards Mega Moolah position Leer más »

To the , a lucky pro obtained C$half a dozen,689,308 towards the Super Moolah updates

Unlike on the web headings with fixed successful possible, progressive jackpot harbors has a prize pool hence grows after every real money choice. Quite often, this has an excellent seeding amount; the newest award pool initiate out of this amount and you will you can carries on expanding until the jackpot has reached arbitrary hit

To the , a lucky pro obtained C$half a dozen,689,308 towards the Super Moolah updates Leer más »

Toward , a lucky expert claimed C$six,689,308 into the Super Moolah status

In place of online headings that have fixed profitable prospective, modern jackpot slots has actually a reward pool and therefore grows after every a real income choice. Oftentimes, it’s a great seeding number; the award pool starts using this count and you can you could carries on growing before the jackpot has reached haphazard strike

Toward , a lucky expert claimed C$six,689,308 into the Super Moolah status Leer más »