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

Sin categoría

Plus, you could delight in and in case and you can regardless out of where you interest, and also enjoy the social section of gaming owing to help you multiplayer online game

Gamble On the web Roulette Video game. Are you ready to help you plunge with the fun profession from one hundred % totally free roulette? Whether you are an amateur seeking find out the ropes or even a keen educated runner looking to develop your skills, to try out roulette on the web free-of-charges is […]

Plus, you could delight in and in case and you can regardless out of where you interest, and also enjoy the social section of gaming owing to help you multiplayer online game Leer más »

And you will being aware what to anticipate on the newest brand new online casinos is extremely important

Enhanced Support service. Can it amount? Most, yeah. Prepared until you encounter a payment condition. Want to wait through to the following day if you don’t score a reply while the prompt that you could? That’s why this new Uk casinos on the internet has actually 24/seven guidelines that actually works throughout these era, not

And you will being aware what to anticipate on the newest brand new online casinos is extremely important Leer más »

It possess pleasant pixies when you look at the a forest having twinkling chimes and you may giggles, starting an awesome landscaping

Temple regarding Game is basically an internet site bringing a hundred % 100 percent free gambling games, particularly slots, roulette, otherwise black colored-jack, that are starred for fun towards demo setting in place of using any cash. Online casinos Faq’s Get in touch with Regards to services. And then make funds depends on of many

It possess pleasant pixies when you look at the a forest having twinkling chimes and you may giggles, starting an awesome landscaping Leer más »

And you can knowing what to anticipate from the the new web based casinos is extremely important

Enhanced Customer care. Will it matter? Best, yeah. Waiting right until your own find a payment disease. Have to waiting right up until the next day otherwise get a good reply immediately? For this reason the fresh United kingdom casinos on the internet keeps 24/7 help that works on these instances, not simply written down.

And you can knowing what to anticipate from the the new web based casinos is extremely important Leer más »

Together with, you can gamble and when and no matter the place you perform such as for example, and also have benefit from the social section of gaming once the due to multiplayer online game

Enjoy On the web Roulette Video game. Isn’t it time so you can dive for the fun globe off one hundred % 100 percent free roulette? Regardless if you are a beginner seeking to find out the ropes otherwise an enthusiastic knowledgeable pro seeking sharpen your talent, to tackle roulette on the internet a hundred%

Together with, you can gamble and when and no matter the place you perform such as for example, and also have benefit from the social section of gaming once the due to multiplayer online game Leer más »

And you can being aware what can be expected from these brand new web based casinos are important

Increased Support service. Can it matter? Finest, yeah. Waiting till the come upon an installment situation. Need wait right up until the next day or score a beneficial answer immediately? That is why the newest United kingdom web based casinos provides 24/7 let that works in these hours weiss , besides in writing. Players’ become

And you can being aware what can be expected from these brand new web based casinos are important Leer más »

And, you can play just in case no amount in which you carry out including, as well as have enjoy the public element of gaming once the due to multiplayer online game

Play On line Roulette Game. Isn’t it time to dive into the enjoyable world off 100 % 100 percent free roulette? Regardless if you are an amateur https://pt.slotzocasino.com/ trying learn the ropes otherwise a passionate knowledgeable user seeking develop your talent, to tackle roulette on the internet 100% free is the ideal means to fix

And, you can play just in case no amount in which you carry out including, as well as have enjoy the public element of gaming once the due to multiplayer online game Leer más »

As well as, you could potentially gamble if in case with no matter where you carry out such as for instance, and have take advantage of the social section of playing because due to multiplayer games

Play On line Roulette Games. Are you ready so you can diving towards the fun business out of one hundred % free roulette? Whether you are a beginner seeking find out the ropes otherwise an enthusiastic educated member seeking to sharpen your talent, to try out roulette on the web one hundred% free is the

As well as, you could potentially gamble if in case with no matter where you carry out such as for instance, and have take advantage of the social section of playing because due to multiplayer games Leer más »

In addition to, you could potentially enjoy just in case with no amount in which you would particularly, and have now enjoy the societal element of gambling because the a result of multiplayer games

Gamble On the web Roulette Video game. Are you ready so you’re able to diving into enjoyable industry regarding one hundred % totally free roulette? Whether you’re an amateur looking to find out the ropes or even a passionate educated athlete seeking to hone your talent, to experience roulette online a hundred% 100 percent free

In addition to, you could potentially enjoy just in case with no amount in which you would particularly, and have now enjoy the societal element of gambling because the a result of multiplayer games Leer más »

Including, you might enjoy if in case without number in which you perform instance, and just have gain benefit from the personal part of gambling because a result of multiplayer online game

Gamble Online Roulette Game. Do you want so you can dive toward fun community out of 100 % totally free roulette? Regardless if you are a beginner seeking to learn the ropes or even a keen educated user seeking to develop your skills, playing roulette on the internet 100% 100 percent free is the ideal

Including, you might enjoy if in case without number in which you perform instance, and just have gain benefit from the personal part of gambling because a result of multiplayer online game Leer más »