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

Sin categoría

Offlin Casino Echt Strafbaar ️ Beste Nederlandse Offlin Casino’s

Jou kunt in een mobiele gokhuis app echt bankbiljet verwedden overmatig jouw smartphone of pil. Ginds schenkkan met in bankbiljet worden acteerprestatie inschatten gij mobiele gokhuis apps. Indien jij erbij gelijk offlin bank in bankbiljet aanvang naderhand toestemmen jouw kiezen appreciëren wie acteerprestatie je diegene doen. Jouw kunt voordat uitzoeken wegens bij online gokkasten in […]

Offlin Casino Echt Strafbaar ️ Beste Nederlandse Offlin Casino’s Leer más »

U uitgelezene bank premie: 8 slimme keuzes

Grootte Minimale storting €20 plusteken met €40 stichten Uitbetalen vanuit winsten in gelijk welkomstbonus Vermag ego kosteloos spins buiten storting alsmede bij nieuwe bank´su eisen? BetCity premie Door te het loket vanuit je account het regels ach te schikken, kun jij de code activeren plusteken voordetrekken vanuit het premie. U bedragen eigenlijk de fre spins

U uitgelezene bank premie: 8 slimme keuzes Leer más »

We compiled a summary of fee tips aren’t recognized because of the local casino sites in britain

Most British casinos promote top-notch pc internet you have access to through your browser Believe and therefore http://premium-ca.com payment steps you may be most comfortable playing with and make certain their selected genuine-currency local casino web site aids them. Looking for a gambling establishment that provides fee methods aligned along with your tastes is crucial

We compiled a summary of fee tips aren’t recognized because of the local casino sites in britain Leer más »

Otherwise, when you are a laid-back athlete, more substantial, local casino sign-up incentive are far more compatible

We understand how essential security features are after you explore a real income Everything, in addition to cost, and that seems on this site is susceptible to transform any kind of time time If you are searching to make the the majority of your on-line casino extra, it is vital that you understand what online

Otherwise, when you are a laid-back athlete, more substantial, local casino sign-up incentive are far more compatible Leer más »

We have spent hundreds of hours digging from the conditions and terms so you don’t need to

Do not only rate a casino after, we wait for warning signs, remark user opinions, and take off or downgrade sites that prevent fulfilling our conditions. If you believe as if the gambling may be out of manage you could register with GAMSTOP and you will cut off your self out of gambling on line.

We have spent hundreds of hours digging from the conditions and terms so you don’t need to Leer más »

We do not query percentage to possess position, we really do not checklist low-British registered casinos

There’s absolutely no first transaction called for unless you’re searching for their 100% bonus We regarding professionals continually status our set of ideal gambling enterprise internet sites, considering both its inside-breadth study and you may affiliate views. An online casino try an internet site . or mobile app in which you could play game like

We do not query percentage to possess position, we really do not checklist low-British registered casinos Leer más »

We have invested hundreds of hours searching through the conditions and terms thus it’s not necessary to

We do not just rate a casino shortly after, we expect symptoms, comment user opinions, and take off or downgrade sites one end fulfilling the conditions. If you believe as if the playing is out of control you could join GAMSTOP and stop yourself off gambling on line. We of gambling establishment benefits has examined

We have invested hundreds of hours searching through the conditions and terms thus it’s not necessary to Leer más »

However, it’s important to choose the right casino bonuses to suit your gambling means

The latest casinos noted on all of our web site all the provide incentives that allows you to potentially win money, but just remember that , really games are derived from fortune. You to relies on what you are shortly after. The very best local casino join also provides in britain feature this type of

However, it’s important to choose the right casino bonuses to suit your gambling means Leer más »

Not only on the harbors, in addition it provides real time specialist game, thus there’s something for everyone

However, i have as well as incorporated a knowledgeable-rated on-line casino to own highest stakes within guide Since a good VIP, you’ll enjoy reduced distributions, a personal membership director, exclusive incentives, totally free revolves, and you may unique perks, and book experiences to possess high rollers. The fresh new Higher Roller is among the leading

Not only on the harbors, in addition it provides real time specialist game, thus there’s something for everyone Leer más »

We’ve obtained a summary of fee procedures commonly approved by the gambling enterprise sites in the uk

Nearly all British casinos offer better-notch desktop web sites you can access via your browser Consider and therefore percentage steps you happen to be beloved playing with and ensure your own selected genuine-currency gambling enterprise webpages supporting all of them. Trying to find a casino which provides fee tips aimed with your tastes is crucial

We’ve obtained a summary of fee procedures commonly approved by the gambling enterprise sites in the uk Leer más »