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

Sin categoría

Don’t Overlook Such Incredible Cash in Better On-line casino Other sites

Below select the top no deposit and also you get totally free spins promoting and you may particular really large restricted put advertising in order to get you started. I additionally enjoys total tips on all the of the recommendations there is given below in order to make the best . Gambling enterprise Incentive 888 […]

Don’t Overlook Such Incredible Cash in Better On-line casino Other sites Leer más »

Online gambling try first and foremost end up being on the fun and you can circumstances

Highest RTP Commission to change Your Profitable Options: RTP represents Return to Player and is also a portion figure you to tells you simply how much you may also win far more an average time period. I encourage opting for game which have a good 95% or higher RTP since these game often tend in

Online gambling try first and foremost end up being on the fun and you can circumstances Leer más »

The new contributing creator and you may copywriter regarding Top10Casinos is actually an expert in one another news media and gambling

Particular anybody within individuals have betiton-uk.com/nl/app spent some time working indeed with gambling enterprises, even though some possess numerous years of company end up being through other playing communities. Each of us is found on the internet experts who see slots, desk game and you will real time dealer titles so we utilize the breadth

The new contributing creator and you may copywriter regarding Top10Casinos is actually an expert in one another news media and gambling Leer más »

The new contributing publisher and you will writer on Top10Casinos are an expert within the one another journalism and you will playing

Specific somebody within our men and women have did in fact having gambling enterprises, even though some features years of providers feel through-other gambling teams. Each of us is https://88sportbet.org/pt/login/ found on the internet experts who delight in slots, desk games and you will live broker headings so we utilize the breadth of real information

The new contributing publisher and you will writer on Top10Casinos are an expert within the one another journalism and you will playing Leer más »

The most frequent example of a sign right up method laid out of your its benefits ‘s the 100 percent free revolves enjoy offer

These adverts may differ regarding level of revolves, the value of somebody spins, therefore the games that you can play. Like in our very own table less than, it is common getting casinos to present significantly other gurus whenever you will be demanding a comparable lower lay. Another area where 100 percent free spins adverts

The most frequent example of a sign right up method laid out of your its benefits ‘s the 100 percent free revolves enjoy offer Leer más »

Greatest Casino games to relax and play Along with your Extra

Many casino indication-up incentives was appropriate for someone video https://www.slingoslots.org/pt/entrar game about the fresh new this new brand’s collection. Whenever up against including possibilities, of numerous anybody intend to just pursue what they come across, neglecting the ability to is largely new stuff. We’d like so you’re able to encourage you to definitely fixate using

Greatest Casino games to relax and play Along with your Extra Leer más »

The guidelines away from Playing in the Canada’s Into-line local casino Internet

The best Local casino Gaming Experience On line This can be Super Casino! We would like so you’re able to congratulate one the fresh new in search of ideal gambling on line Canada provides in addition to most useful alive local casino website to your the web. We’re thus happy you’re joining all of our

The guidelines away from Playing in the Canada’s Into-line local casino Internet Leer más »