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

Sin categoría

When searching for your ideal extra, below are a few of the biggest points to are still a treatment on the fresh

All bonus has the benefit of are created to look appealing and sweet in order to encourage the latest users on-board, therefore it is wanted to pick for each casino’s fine print observe the genuine reputation of the give. Combined Equilibrium Additional With this specific, per solutions you make after bringing a beneficial together with […]

When searching for your ideal extra, below are a few of the biggest points to are still a treatment on the fresh Leer más »

Individuals have twenty four hours to accept the advantage shortly after it’s provided

Minute place ?5 Through to invited, get a hold of 7 days to make use of the bonus and you also normally complete the betting necessary. The benefit enforce in order to sorts of game listed to the Tips web page. #Offer, 18+, | This new some one just. Minimum place ?5. 100% Incentive as

Individuals have twenty four hours to accept the advantage shortly after it’s provided Leer más »

Men and women have 24 hours to simply accept the advantage once it’s granted

Min place ?5 Through to allowed, find one week to make use of the benefit while can complete the betting required. The bonus is applicable simply to kind of game detailed towards Tricks web page. #Give, 18+, | The fresh new people just. Minimum lay ?5. 100% Extra around ?2 hundred, good to own earliest

Men and women have 24 hours to simply accept the advantage once it’s granted Leer más »

Folks have twenty four hours to simply accept the main benefit after it is provided

Minute place ?5 On welcome, pick seven days to make use of the advantage and you can be finish the wagering requisite. The bonus applies in order to types of online game listed on the Techniques webpage. #Promote, 18+, | This new people simply. Minimum put ?5. 100% Extra up to ?two hundred, valid to

Folks have twenty four hours to simply accept the main benefit after it is provided Leer más »

Individuals have 1 day to just accept the benefit shortly after it is offered

Min place ?5 Up on allowed, select 1 week to use the advantage and you is also finish the betting requisite. The advantage applies just to type of games indexed with the Ways page. #Bring, 18+, | The anyone only. Minimum put ?5. 100% Added bonus to ?200, appropriate to possess earliest places only. Extra

Individuals have 1 day to just accept the benefit shortly after it is offered Leer más »

Gambling on line is to try to focus on be toward enjoyable and you will entertainment

Higher RTP Payment to increase Their Profitable Possibility: RTP form Go back to User and is a percentage character that tells you simply how much you’ll be able to profits along the typical go out. We advice choosing game which have good 95% or maybe more RTP since these online game commonly slightly enhance your

Gambling on line is to try to focus on be toward enjoyable and you will entertainment Leer más »

Gambling on line should be to start with feel to your fun and you will entertainment

High RTP Payment to improve Their Profitable Odds: RTP mode Come back to Athlete and is a portion reputation one to tells you simply how much you’ll winnings along the normal date. We advice opting for video game having an effective 95% or maybe more RTP mainly because online game are not slightly improve profitable

Gambling on line should be to start with feel to your fun and you will entertainment Leer más »

Gambling on line will be to start off with be with the enjoyable and you will amusement

High RTP Payment to boost Their Profitable Possibility: RTP function Go back to Athlete which can be a share character that lets you know exactly how much you’ll winnings along side normal date. We advice opting for online game with a good 95% or maybe more RTP because these games aren’t some boost your profitable

Gambling on line will be to start off with be with the enjoyable and you will amusement Leer más »

Wazdan: Cazinouri, Sloturi, ContiCazino Jocuri și Demo-uri Gratuite

Content Care cazinou online oferă ă mai lucru bonus dar achitare? | ContiCazino Producătorii ş Tu: De Creează Magia? Bonus pana pe 1000 RON  +400 Rotiri Geab Luck Casino: Locul dacă câștigi în bune Cei mai buni furnizori să sof online casino Romania Dă hă liber distracției și pregătește-te să o ContiCazino sesiune unică, fără

Wazdan: Cazinouri, Sloturi, ContiCazino Jocuri și Demo-uri Gratuite Leer más »