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

Sin categoría

For more information into the extremely products please provide us with a trip now regarding: 631-242-2440

TopX was an alternative casino you to definitely recently delivered, yet , they currently also provides more than five,100 games having Bangladeshi participants. Explore the new feedback produced by our very own advantages to learn regarding bonuses https://mobilebetcasino.org/pl-pl/aplikacja/ , security measures, or other very important factual statements about new local casino. Exactly what Incentives and […]

For more information into the extremely products please provide us with a trip now regarding: 631-242-2440 Leer más »

Sloto Dollars Added bonus basic set: 200% � $2,100000 Moment

Most useful Into-range gambling enterprise VIP and you will Support Software. When you’re a leading roller or a typical user looking to have more well worth from the bets, signing up for an excellent VIP program might possibly be your ss promote individual benefits including cashback, faster withdrawals, personal subscription managers, as well as deluxe

Sloto Dollars Added bonus basic set: 200% � $2,100000 Moment Leer más »

Knowledge is largely time, and newest casino business, on the other hand, it may mean far more growth

Learn the First Direction out of Online casino games. If you’re not used to online casinos, taking the time to know ideas on how to gamble gambling games on the internet is key. While the an amateur, there are what to keep in mind: Come across Before you can Play: Before position real money bets,

Knowledge is largely time, and newest casino business, on the other hand, it may mean far more growth Leer más »

Sloto Cash Added bonus earliest set: dos00% � $2,one hundred thousand Second

Greatest Towards-range gambling establishment VIP and you can Commitment Programs. If you find yourself a leading roller or a routine member looking to attract more worthy of out of your wagers, signing up for an excellent VIP program would-be their ss promote personal benefits such cashback, smaller distributions, individual subscription executives, as well as deluxe

Sloto Cash Added bonus earliest set: dos00% � $2,one hundred thousand Second Leer más »

Someone perhaps not-for-cash groups and you can responsible gaming advocates have started increasing focus on the you are able to situation

No, Utah possess a complete blanket exclude to your the forms away from betting, particularly casinos an on-line-established casinos As a result, position facts had been placed on discussing the challenge. The fresh new Government Council towards Situation Gaming runs a devoted and instead comprehensive web page on what information can be found in the

Someone perhaps not-for-cash groups and you can responsible gaming advocates have started increasing focus on the you are able to situation Leer más »

Bojoko can be your friends for everybody gambling on line into Inserted Kingdom

With this particular let, get the fresh casinos, incentives and provides, and you will learn about game, harbors, and you may percentage info Zero associate opinions but really. Be the basic one statement the https://kakadu-casinos.org/pl-pl/premia-bez-depozytu/ available choices of which added bonus together with other users. Just how effortless was just about it to track down

Bojoko can be your friends for everybody gambling on line into Inserted Kingdom Leer más »

Experienced poker gurus, specifically, know the significance of existence a near vision on the money

As well as knowing the rules for each type your favour, its also wise to check out the potential that’s readily available In terms of to relax and play the new video game we have detail by detail more, feel is key. Before you can plunge on risking vast amounts of cash, in both an

Experienced poker gurus, specifically, know the significance of existence a near vision on the money Leer más »

Bojoko will be your family unit members for everyone online gambling with the Registered Empire

Using this let, find the fresh gambling enterprises, bonuses and will be offering, and you can learn about online game, ports, and you can fee info No user viewpoints yet. Function neptune play premie as the very first one declaration the availability of that it bonus with other pages. Exactly how simple was it to

Bojoko will be your family unit members for everyone online gambling with the Registered Empire Leer más »

Degree is actually times, and latest gambling enterprise business, in addition, it might mean even more development

Find out the Basic Recommendations off Online casino games. If you are new to web based casinos, taking the time understand how to play gambling games on the internet is secret. Given that a beginner, there are several what things to keep in mind: Come across Before you Gamble: Just before condition real money bets,

Degree is actually times, and latest gambling enterprise business, in addition, it might mean even more development Leer más »