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

Sin categoría

Goldrun Casino Added bonus Best Bonuses & super hot online slot Codes Dec 2024

Content Why Faith CasinoMentor Analysis? | super hot online slot Hoe herken je een goede internet casino opinion License Mohammad container Salman work as the direct away from gambling enterprise laws and regulations and you may compliance. His head duty is always to look at and you may make certain if a casino are holding a […]

Goldrun Casino Added bonus Best Bonuses & super hot online slot Codes Dec 2024 Leer más »

Megabonanza Ratings Realize casino Inter slot games Customer care Recommendations of megabonanza com 6 from thirty five

Blogs Bonanza Offering Website Features – casino Inter slot games Customer care & brand name The site offers merchants and shoppers within the just about any nation worldwide. Terrible, the website and the undetectable metropolitan areas from sellers sucks. My purchase was developed 3 weeks hence and hasn’t been mailed yet. Bonanza requires pages to

Megabonanza Ratings Realize casino Inter slot games Customer care Recommendations of megabonanza com 6 from thirty five Leer más »

Goldrun Gambling establishment Extra Best bitkingz bonus Incentives & Codes Dec 2024

Blogs Bitkingz bonus: As to the reasons Trust CasinoMentor Reviews? Hoe herken je een goede online casino review License Mohammad bin Salman work while the direct out of local casino legislation and conformity. Their main responsibility is always to look at and you can make sure in the event the a casino try carrying a genuine

Goldrun Gambling establishment Extra Best bitkingz bonus Incentives & Codes Dec 2024 Leer más »

Megabonanza Reviews Read Support service Recommendations out of frankenstein slot machine megabonanza com six out of thirty-five

Content Bonanza Promoting Site Features: frankenstein slot machine Customer care & brand The site offers resellers and you will customers within the just about any nation global. Horrible, this site plus the undetectable towns of vendors sucks. My personal buy was created step three weeks ago and you can has not been shipped but really.

Megabonanza Reviews Read Support service Recommendations out of frankenstein slot machine megabonanza com six out of thirty-five Leer más »

Top 10 A real income Cellular Casinos within casino 21prive no deposit bonus code the Canada to have 2024

Articles Casino 21prive no deposit bonus code: All of our Greatest Shell out By the Mobile phone Casinos 2024 Private Mobile Now offers By following all of our pro suggestions, you can decide which of your own mobile web based casinos is the greatest for you to join. Look at the has and you will

Top 10 A real income Cellular Casinos within casino 21prive no deposit bonus code the Canada to have 2024 Leer más »

Starburst robot Spinsamurai login mobile do uciechy internetowego NetEnt Wszystkie bonusy

Po pracach nad produktem pod rzeczywiste pieniążki cena jest ustalana w zł wedle interfejsem kasyna oraz wybieranym stopniem zakładu. Owe nierzadko jest źródłem w najwyższym stopniu pamiętnych kolejności tytułu, nawet jeśli szersza sesja zostanie ewentualnie stabilna. Jak bębny już uwagi obracają, doświadczenia pozostanie skupione w identycznej pętli uciechy podstawowej jak i również tej samej pojedynczej

Starburst robot Spinsamurai login mobile do uciechy internetowego NetEnt Wszystkie bonusy Leer más »

Greatest Online casinos in australia 2024 Greatest casino rizk Australian Casino Web sites

Blogs Minimal Put | casino rizk Finest You gambling enterprise bonuses & campaigns The new casino internet sites also are enhanced for everyone gizmos and you will works really to the one another iphone and you will Android os. It is certain of the same incentives and you will promos whenever to try out casino

Greatest Online casinos in australia 2024 Greatest casino rizk Australian Casino Web sites Leer más »

Finest Casinos on the internet in australia 2024 iron man 2 slot machines Better Australian Local casino Websites

Posts Iron man 2 slot machines – Minimum Put Finest Us gambling enterprise bonuses & offers The brand new gambling establishment internet sites are also enhanced for all gizmos and you will work better on the each other new iphone and you can Android os. You can be certain of the same bonuses and you

Finest Casinos on the internet in australia 2024 iron man 2 slot machines Better Australian Local casino Websites Leer más »

Best Online free bet goldbet no deposit casinos in australia 2024 Best Australian Gambling enterprise Websites

Blogs Free bet goldbet no deposit: Lowest Deposit Greatest United states gambling establishment incentives & campaigns The new gambling establishment sites are also optimized for all products and you will performs well on the each other new iphone 4 and you will Android. You can be assured of the identical incentives and you may promos

Best Online free bet goldbet no deposit casinos in australia 2024 Best Australian Gambling enterprise Websites Leer más »