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

Sin categoría

If you are looking getting a good range of ports with high percentage possible, 888 Gambling establishment has a lot giving

Finest Status Game to the 888 Local casino Recognized for their group of enjoyable online game with original design and you may you could creative has actually, 888 Casino attracts both this new benefits and you will you will experienced position supporters. On this page, we are going to highlight the best reputation game towards […]

If you are looking getting a good range of ports with high percentage possible, 888 Gambling establishment has a lot giving Leer más »

Within progressive era from playing, so long as have to leave home going to the current slots

Better Slots the real deal Currency Casino games (2026) Naturally, each legit gambling site, select a fraud website. But not, for those who a bit of research, you might rapidly be on your path in order to effective real cash that have on-line casino harbors. Online Slot machines The real thing Currency The options was

Within progressive era from playing, so long as have to leave home going to the current slots Leer más »

The fresh Real time group is like activities during the a timeless gambling establishment

The newest random matter creator will not manage the brand new titles in order that that which you was handled because of the elite group traders alternatively. Additionally, there are many different most other common q88bets no deposit casino headings, along with Immortal Love position, Gonzo’s Quest slot, Starburst position, Moon Little princess position, etc.

The fresh Real time group is like activities during the a timeless gambling establishment Leer más »

Understanding Baclofen Peptide Dosage: A Comprehensive Guide

Baclofen is a medication commonly used to treat muscle spasticity and is increasingly recognized for its potential benefits in various therapeutic areas. As with any medication, understanding the appropriate dosage is crucial for achieving the desired effects while minimizing the risk of side effects. https://htxdienphuongson.vn/understanding-baclofen-peptide-dosage-an-informative-guide/ What is Baclofen? Baclofen is a muscle relaxant that acts

Understanding Baclofen Peptide Dosage: A Comprehensive Guide Leer más »

The latest launches skin towards the top of a floor weekly

Typical chance generally speaking contains the extremely beneficial harmony ranging from RTP and you can enjoyment really worth You shouldn’t make the bring in case your guidelines commonly clear otherwise are difficult to locate. Before you can inquire about a detachment, when you’re a person from the Uk, make certain that the fresh local casino

The latest launches skin towards the top of a floor weekly Leer más »

Groups to see a knowledgeable, current, otherwise trusted harbors web sites basic

Simultaneously, there are numerous filters for you to use to great-track the list of better slot websites you will find to the this page, eg: Online game Vendor � Utilize this filter if you are searching taking an on-range gambling establishment that have real money harbors developed by a specific journalist, like NetEnt otherwise Play’n

Groups to see a knowledgeable, current, otherwise trusted harbors web sites basic Leer más »

Kinds observe the best, current, otherwise respected ports websites earliest

Likewise, there are many filter systems to work with so you’re able to great-track the list of most useful slot websites you can observe on the these pages, eg: Game Supplier � Utilize this filter if you’re looking getting an on-line local casino that have real money slots created by a specific journalist, eg NetEnt

Kinds observe the best, current, otherwise respected ports websites earliest Leer más »

If you are looking that have a number of harbors that have highest payment possible, 888 Casino has a lot to include

Most useful Position Online game into the 888 Gambling establishment Known for the group of fascinating online game with exclusive themes and you may creative has actually, 888 Casino lures one another the new professionals and you can knowledgeable slot fans. On this page, we’ll concentrate on the finest standing online game to help you

If you are looking that have a number of harbors that have highest payment possible, 888 Casino has a lot to include Leer más »