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

Sin categoría

Should you decide require any further recommendations or recommendations, don�t hesitate to contact all of us me personally

The audience is right here to support spinland casino inloggen your in the restoring this issue and you will making certain the fulfillment. Thanks for providing the questions you have to our notice, and in addition we expect a simple quality towards detachment demand. System diversity guarantees all the user discovers game complimentary their choices […]

Should you decide require any further recommendations or recommendations, don�t hesitate to contact all of us me personally Leer más »

Should you decide want any more recommendations or suggestions, don�t think twice to get in touch with you myself

The audience is here to support you throughout the restoring this matter and you can making certain that the pleasure https://stanleybets.net/nl/geen-stortingsbonus/ . Thanks for taking the questions you have to your attract, and we anticipate a quick high quality on withdrawal request. System diversity claims most of the associate discovers video game complimentary their tastes

Should you decide want any more recommendations or suggestions, don�t think twice to get in touch with you myself Leer más »

If you are a new comer to local casino betting, if not a new comer to the very thought of in charge playing, worry not

This is one of the most preferred cards of organization, however, previous ‘poker face’ what other implies were there to you personally really to beat your own Pick gambling establishment gaming conditions, different designs, what you should get a hold of, how-to influence all of them and you can important things to adopt. Below are

If you are a new comer to local casino betting, if not a new comer to the very thought of in charge playing, worry not Leer más »

If you find yourself a new comer to gambling establishment betting, if you don’t new to the thought of in control playing, proper care perhaps not

This will be perhaps one of the most popular notes off company, but prior ‘poker face’ what other ways have there been to you individually to conquer your own Discover gambling enterprise gambling conditions, different brands, what you should get a hold of, simple tips to dictate them and you may considerations to look at.

If you find yourself a new comer to gambling establishment betting, if you don’t new to the thought of in control playing, proper care perhaps not Leer más »

If you find yourself fresh to casino gambling, if not new to the idea of in charge playing, worry maybe not

This will be probably one of the most preferred notes away from company, but previous ‘poker face’ any alternative implies were there to you physically to beat your Pick gambling establishment betting requirements, different brands, what to pick, just how to influence all of them and you may considerations to consider. Below are a few

If you find yourself fresh to casino gambling, if not new to the idea of in charge playing, worry maybe not Leer más »

When you find yourself new to gambling enterprise betting, if you don’t not used to the notion of responsible gambling, care and attention perhaps not

This will be one of the most common cards of business, however, past ‘poker face’ what other suggests were there to you personally actually to conquer their Find casino gambling criteria, different designs, what you should see, how exactly to determine all of them and you can important https://21luckybets.net/pt/entrar/ matters to adopt. Listed below are

When you find yourself new to gambling enterprise betting, if you don’t not used to the notion of responsible gambling, care and attention perhaps not Leer más »

Yes, Midaur Gambling establishment is designed to end up being cellular-appropriate, providing participants to love gaming into android and ios os affairs

Midaur Local casino have a varied online game selection, along with a huge selection of reputation video game, antique table online game such as for example black colored-jack and roulette, and you will immersive real time dealer selection, all readily available for a premier-quality gaming experience Customer support. Midaur Gambling enterprise will bring energetic customer

Yes, Midaur Gambling establishment is designed to end up being cellular-appropriate, providing participants to love gaming into android and ios os affairs Leer más »

Yes, Midaur Local casino was designed to end up being mobile-compatible, providing members to enjoy playing to the ios and android os facts

Midaur Local casino has a diverse online game choice, together with hundreds of updates online game, antique dining table game such as black-jack and you will roulette, and you will immersive real time dealer choices, all of the designed for a leading-high quality gambling sense Customer service. Midaur Casino provides productive customer service to compliment

Yes, Midaur Local casino was designed to end up being mobile-compatible, providing members to enjoy playing to the ios and android os facts Leer más »

Should you wanted anymore advice otherwise information, don�t think twice to reach out to you yourself

Our company is right here to support your within the restoring this matter and you will ensuring that the fulfillment. Many thanks for bringing your own issues with the attention, therefore we a cure for a quick high quality toward detachment consult. Program range promises every affiliate finds out game coordinating the requires together with

Should you wanted anymore advice otherwise information, don�t think twice to reach out to you yourself Leer más »

Sure, Midaur Gambling enterprise is designed to be mobile-compatible, helping people to enjoy gambling to the ios and android operating-system activities

Midaur Gambling enterprise keeps a varied online game options, also countless standing video game, classic table games including black colored-jack and you can roulette, and you can immersive alive agent choice, the designed for a premier-top quality gaming sense Customer support. Midaur Gambling establishment provides active support service to enhance affiliate fulfillment. You have access

Sure, Midaur Gambling enterprise is designed to be mobile-compatible, helping people to enjoy gambling to the ios and android operating-system activities Leer más »