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

Sin categoría

A real income Online casinos in the slot mystic dreams usa Finest in 2024

Content Better casinos within the Canada inside 2024 by group: slot mystic dreams Better 4 Live Dealer Casinos To possess People Of Us Commission Actions at the Safer On-line casino Internet sites Repaired jackpot pokies could render honors as high as NZ250,000 and you can modern jackpot pokies have exceeded NZten,100,000 on the several days […]

A real income Online casinos in the slot mystic dreams usa Finest in 2024 Leer más »

Real money Web based casinos in america play magic hot 4 Best in 2024

Blogs Play magic hot 4: Best casinos inside Canada in the 2024 because of the category Greatest 4 Live Dealer Gambling enterprises For Professionals Away from United states Commission Tips from the Secure On-line casino Internet sites Repaired jackpot pokies can often render honours as much as NZ250,one hundred thousand and progressive jackpot pokies have

Real money Web based casinos in america play magic hot 4 Best in 2024 Leer más »

A real income Casinos at the movies slot machine on the internet in the usa Best in 2024

Posts Finest casinos within the Canada within the 2024 by the class – at the movies slot machine Greatest 4 Real time Agent Casinos To have Players Of United states Commission Procedures at the Safer Internet casino Sites Repaired jackpot pokies could render prizes as much as NZ250,000 and modern jackpot pokies features at the

A real income Casinos at the movies slot machine on the internet in the usa Best in 2024 Leer más »

Greatest Internet casino casino versailles gold Invited Incentives & Sign up Offers

Content Casino versailles gold: Frequently asked questions From the On-line casino United states See registered sites which have KYC verification Highest Country Casino – Ideal for Table Games Mega Moolah is actually an epic modern jackpot position noted for their life-modifying winnings. This game has made headlines featuring its list-breaking jackpot of over $21 million.

Greatest Internet casino casino versailles gold Invited Incentives & Sign up Offers Leer más »

Best £10 Deposit Incentive British £10 Minimum Put fish party slot Casinos 2024

Content ⃣ What’s the greatest £10 deposit casino in the uk? – fish party slot Finest Payment Methods for €10 Reduced Places All of our Greatest-7 Directory of $ten Put Casinos Information is accumulated right from financial and borrowing connection marketing and advertising render pages for the an ongoing base, and that web page is

Best £10 Deposit Incentive British £10 Minimum Put fish party slot Casinos 2024 Leer más »

Better casino pay by mobile On-line casino Welcome Incentives & Subscribe Now offers

Posts Faqs On the Internet casino United states of america: casino pay by mobile Find registered sites that have KYC verification Higher Country Local casino – Best for Table Video game Mega Moolah is actually a legendary modern jackpot position noted for the life-switching profits. This game made headlines having its list-breaking jackpot of over

Better casino pay by mobile On-line casino Welcome Incentives & Subscribe Now offers Leer más »

Grand Reef opera of the masks free spins Local casino 2024 Opinion Games

Articles Athlete is disappointed to your casino’s functions.: opera of the masks free spins Player’s struggling to complete account verification. Huge Rush Local casino commission procedures The gamer from Fl got questioned a detachment below a couple days ahead of entry the woman ailment. The gamer educated delays in the getting the woman profits, which

Grand Reef opera of the masks free spins Local casino 2024 Opinion Games Leer más »

Grand Reef Casino play la playa slot 2024 Opinion Video game

Posts Play la playa slot – Pro is actually dissatisfied for the casino’s features. Player’s incapable of over account confirmation. Huge Hurry Local casino fee tips The gamer out of Florida got asked a detachment lower than two months just before distribution the woman complaint. The ball player experienced delays in the acquiring her winnings,

Grand Reef Casino play la playa slot 2024 Opinion Video game Leer más »

Huge Reef combat romance casino Local casino 2024 Comment Game

Posts Pro try upset on the gambling enterprise’s services.: combat romance casino Player’s not able to over membership confirmation. Huge Hurry Casino commission actions The player from Fl got requested a withdrawal less than a few days prior to submission their ailment. The player educated waits within the choosing the woman earnings, which in fact

Huge Reef combat romance casino Local casino 2024 Comment Game Leer más »

Huge Reef Gambling enterprise 2024 Remark magic crystals slot machine Games

Blogs Magic crystals slot machine | Athlete are dissatisfied to your gambling enterprise’s characteristics. Player’s not able to complete account confirmation. Huge Hurry Gambling enterprise commission procedures The player from Florida got requested a detachment lower than a couple of days before submitting their ailment. The gamer experienced delays inside the acquiring the girl profits,

Huge Reef Gambling enterprise 2024 Remark magic crystals slot machine Games Leer más »