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

Sin categoría

Greatest Electronic poker Web sites getting 2026 Court Electronic poker Games

We’ve done the be right for you and made sure that new gaming other sites noted try safe getting game play, places and cash withdrawals. All of the best-ranked websites we number has actually large volumes out of college student players and you can recreational people. The essential difference between to experience real cash poker […]

Greatest Electronic poker Web sites getting 2026 Court Electronic poker Games Leer más »

Best Video poker Sites to possess 2026 Court Video poker Video game

We’ve done all of the be right for you making sure new gambling websites indexed are safe and secure to own gameplay, dumps and cash withdrawals. Every most useful-ranked web sites that people record features large amounts out of scholar people and you will recreational players. The essential difference between to experience real money casino

Best Video poker Sites to possess 2026 Court Video poker Video game Leer más »

Most useful Video poker Internet sites to possess 2026 Courtroom Video poker Online game

We’ve over all the do the job making sure that the fresh new gambling websites noted try secure for game play, places and cash withdrawals. All of the most readily useful-ranked internet that people checklist has actually large amounts off beginner participants and leisure participants. The difference between to experience real money web based poker

Most useful Video poker Internet sites to possess 2026 Courtroom Video poker Online game Leer más »

Ideal Video poker Internet sites to have 2026 Legal Video poker Video game

We’ve over the do the job making sure that the new playing other sites detailed is actually safe and sound to possess game play, deposits and cash withdrawals. All of the top-rated sites that people checklist possess considerable amounts off college student users and amusement people. The essential difference between to relax and play real

Ideal Video poker Internet sites to have 2026 Legal Video poker Video game Leer más »

Greatest Video poker Web sites to own 2026 Court Video poker Video game

We’ve over all of the do the job making sure the new gambling websites noted was safe and sound for gameplay, dumps and money distributions. Every greatest-ranked web sites that individuals list enjoys considerable https://yukongoldcanada.com/nl-nl/ amounts off pupil players and you can relaxation members. The essential difference between to play a real income poker and

Greatest Video poker Web sites to own 2026 Court Video poker Video game Leer más »

The basics of an informed Gambling enterprises from inside the Vicksburg, MS

Together with playing business, WaterView and merchandise various dinner alternatives and you can assures customers has actually an effective lovely stay with their comfortable lodge rentals. The newest Riverwalk even offers several dinner options, a health club, and you may a swimming pool to provide a complete entertainment experience. Located on the Mississippi Lake, Vicksburg,

The basics of an informed Gambling enterprises from inside the Vicksburg, MS Leer más »

The basics of a knowledgeable Gambling enterprises in Vicksburg, MS

As well as betting organization, WaterView also presents some restaurants alternatives and you will assurances travelers has actually a good pleasant stick to their comfy resort renting. The Riverwalk has also a variety of food possibilities, a health club, and a share to incorporate a complete entertainment feel. Found on the Mississippi River, Vicksburg, MS

The basics of a knowledgeable Gambling enterprises in Vicksburg, MS Leer más »

A guide to the best Gambling enterprises inside the Vicksburg, MS

Also playing organization, WaterView together with presents certain dining selection and assurances tourist provides a great lovely stay with the comfortable hotel apartments. The latest Riverwalk also has many dining solutions, a health club, and you can a pool to incorporate a complete entertainment feel. Found on the Mississippi Lake, Vicksburg, MS try a local

A guide to the best Gambling enterprises inside the Vicksburg, MS Leer más »

A guide to an informed Gambling enterprises within the Vicksburg, MS

Together with playing organization, WaterView and additionally gift suggestions various dining selection and ensures guests features a lovely stick with their comfy lodge rentals. The latest Riverwalk is served by numerous dinner solutions, a health club, and you will a pool to incorporate a whole amusement feel. On the Mississippi Lake, Vicksburg, MS was a

A guide to an informed Gambling enterprises within the Vicksburg, MS Leer más »