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

Sin categoría

Create web based casinos getting Cyprus provides Greek issues?

Not totally all web based casinos that provide their functions from the Cyprus assistance Greek brands of its apps too due to the fact possess Customer Functions to your Greek, not carry out. I’ve detailed an educated casinos that have Greek brands within this this informative guide more. What casinos on the internet offer fast […]

Create web based casinos getting Cyprus provides Greek issues? Leer más »

Which is and additionally a protection ability as you wish brand new gains was up-to-date always and also to enter sync

Winwin Yes, the latest WynnBET On the-range gambling establishment PA is actually a legitimate webpages you to emerged out of genuine labels such as for example Caesars Athletics and you can Wynn Hotel. But not, so you’re able to lawfully play your chosen casino games within WynnBET, you will want to match the pursuing the

Which is and additionally a protection ability as you wish brand new gains was up-to-date always and also to enter sync Leer más »

That is plus a defence feature as you would like this new gains was current constantly and also to get into connect

Winwin Yes, the fresh WynnBET Into the-range gambling enterprise PA is a legitimate webpages you to 1Red bonus utan insättning came up regarding genuine brands such Caesars Recreation and you may Wynn Hotel. not, to lawfully gamble your favorite casino games within WynnBET, you really need to match the following the standards: End up being

That is plus a defence feature as you would like this new gains was current constantly and also to get into connect Leer más »

In place of assets-situated casinos, on the internet professionals explore added bonus strategies as an easy way regarding drawing the newest participants

At the same time, browse the TC meticulously, like in some cases, Gambling establishment Texas hold’em victories are not mentioned to your gambling needs otherwise they is largely, however, on a lower life expectancy contribution percentage By doing this, both the people are happy and you may local casino increases profiles. Without every bonus is

In place of assets-situated casinos, on the internet professionals explore added bonus strategies as an easy way regarding drawing the newest participants Leer más »

Compared to family-dependent casinos, on the web professionals fool around with extra strategies since the a simple way-off drawing the fresh new people

At exactly the same time, have a look at TC very carefully, as with some instances, Local casino Texas holdem gains aren’t measured for the gaming requires or it truly is, yet not, regarding a lesser show percentage Like that, one another users are happy due to the fact local casino innovation people. Rather than

Compared to family-dependent casinos, on the web professionals fool around with extra strategies since the a simple way-off drawing the fresh new people Leer más »

Compared to household-dependent casinos, on line professionals explore bonus systems while the an easy way off drawing the fresh players

At exactly the same time, check out the TC meticulously, as with some cases, Local casino Texas hold’em gains commonly counted to the gambling means otherwise it truly is, not, regarding the a reduced display fee That way, one another users are content just like the local casino advancement some body. In place of all

Compared to household-dependent casinos, on line professionals explore bonus systems while the an easy way off drawing the fresh players Leer más »

Compared with domestic-based casinos, on the internet pros play with added bonus systems as the an easy way off drawing the professionals

Likewise, have a look at TC carefully, just as in some instances, Casino Texas hold em gains aren’t counted into gambling demands or it really is, although not, on a lesser show fee Like that, one another members are content just like the casino development anybody. Versus most of the added bonus are available and

Compared with domestic-based casinos, on the internet pros play with added bonus systems as the an easy way off drawing the professionals Leer más »