/** * 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(); Partypoker is actually a very cherished mate for all of us – Partidas de San Luis

Partypoker is actually a very cherished mate for all of us

The user some body is to help when needed. And best of all of the – the significance towards poker users i upload is truly large. We really highly recommend Entain partners.

Local casino Base

It�s a delight referring to Entain. They give particular nice names and also have become elite due to. An aggravation-a hundred % free and you may reliable nearest and dearest is straightforward to create having Entain User team. We possibly may suggest using them.

SAMMY BINGO

Once dealing with Entain for many years, he could be definitely among the best throughout the globe! Highest names and that always render more than requested and a level most useful class which leads her or him! Would not highly recommend a much better relationship!

pt-sportbet

We have been dealing with entainpartners for quite some time and you may you can was basically most surprised see how a good the labels work. We’re pleased about the confident advancement and you can popular positives this relationships has experienced. Necessary labels and member system.Marek,

Local casino Web sites

New Entain spouse program is fairly rewarding for both services with it. Referring your visitors to help you Entain websites is actually triggerred because of the amazing allowed even offers and you can designed member transformation. New profits is short term and always accompanied by within the depth generating reputation. Entain’s user program is really appealing.

MACHINESLOTONLINE

Working in Italian Managed Team, Entain Partners gave you a lot of solution. He is knowledge and you may identification inside local organization. We are very willing to work on all of them.

cazino365

Our company is dealing with Entain Afliliates for a long time today, and then we need certainly to declare that it is a powerful cooperation both for people. With the Romanian field, this new Sportingbet brand are a premier brand name, in addition to class behind they existence up to the company the fresh old-fashioned.

PONTURI BUNE

Entain Lovers este unul dintre partenerii nostri de greatest. Avem o colaborare stransa cu multe dintre brand name-urile lor state-of-the-art alaturi de talentata echipa de- afiliati.

SUPERCASINOGRATIS

Quando lorsque fortunejack lavora within the ufficio si age a beneficial a great stretto contatto gli uni ripoff gli altri. Con il classification di affiliazione di Entain age become esserlo. Atmosfera rilassata, chiamate anche solamente for every single scambiare due parole. Non esistono delle vere age proprie regole each entrare getting the newest contatto ripoff i spouse. Ripoff Entain Lovers age cosi semplice. Noi del sito supercasinogratis ages giochisoldiveri siamo felici di lavorare con us people di affiliazione cosi bello. You grazie good tutto il classification.

Bingo Mum

Entain have one of ideal affiliate marketing programs regarding the bingo globe. The organization agents will always be of good use and so are a beneficial joy be effective towards. I have and additionally reached some very nice results living with each other this new Foxy Bingo and you will Gala Bingo web sites.

Bonus.De-

PartyCasino and bwin are some of the greatest to tackle names for the Germany, and Entain Couples is getting very good worry out-of you. They truly are very responsive and cash will always be extremely fast. Imperative mate proper.

World Casino poker Income

«Talking about Entain names instance partypoker might have been good button winnings grounds for the representative providers, normally somebody such as for instance respected brands playing.»Rodion Longa,creator out-of Worldpokerdeals

POKERCOACH

We like managing PartyPoker. He has got a knowledgeable casino poker device in the market and you can sales pricing are fantastic. Including, the most affilliate anyone can often be truth be told there to help away whenever expected. I promote our very own ideal guidance.

PokerCoachO

PartyPoker provides a good poker device, conversion rates is actually high as well as their brand are acknowledged on globe. PartyPoker is considered the most the finest people and in addition we provide them with all of our large suggestions.

Apuestasfree

We have managing Entain Lovers many years ago so we was happy. The new affiliate cluster is actually friendly and easy so you can handle. We’re going to work on all of them for a long time to come.