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

Sin categoría

An educated Totally free Ports Spartacus Gladiator Of Rome casino from the Philippines Better Position Online game for 2024

Articles Large Roller Incentive – Spartacus Gladiator Of Rome casino Why should you play from the a quick payment gambling establishment? Best casino game studios were builders for example Pragmatic Play, Play’letter Go, and you will NetEnt. To possess old Egyptian gameplay having a twist, here are some Gamble’n Wade’s Ankh of Anubis at your […]

An educated Totally free Ports Spartacus Gladiator Of Rome casino from the Philippines Better Position Online game for 2024 Leer más »

100 percent free Classic i24Slot app download for android Vegas Slots On the internet

It is expressed in the rates — the better the fresh RTP, the more likely your win over go out. Particular gambling enterprises pack a slap which have tons of harbors, a mixture of various other online game business, and even some exclusive headings you’ll not discover elsewhere. Whether you are just after a certain

100 percent free Classic i24Slot app download for android Vegas Slots On the internet Leer más »

100 percent free casino 777spinslot no deposit bonus Spins for Online slots Free Spins Extra Spins Local casino Also provides

Blogs Casino 777spinslot no deposit bonus: Best You no-deposit extra rules & gambling enterprises in the 2024 That’s greatest casino totally free revolves incentive in the us? Didn’t find the new 100 percent free Spins Bonus You wanted? I have Myself Attempted Over 81 Totally free Twist Now offers Terms and conditions of Australian 100

100 percent free casino 777spinslot no deposit bonus Spins for Online slots Free Spins Extra Spins Local casino Also provides Leer más »

Free online ports: Enjoy online casino Crime Scene 2400+ video slot without obtain

Content Online casino Crime Scene – Incentives And features Totally free Harbors against Free Revolves Told me Lobster Bob’s Sea food and Win It Banking inside Rand (ZAR)Play online slots games for free ✓ You could potentially play new iphone ports myself via your web browser otherwise as a result of a gambling app by

Free online ports: Enjoy online casino Crime Scene 2400+ video slot without obtain Leer más »

Twin Twist Slot Comment 2024 Thrills 10 free spins no deposit bonuses 100 percent free Play Demo

Content JILI – A number one online casino app designer – Thrills 10 free spins no deposit bonuses Total Feeling: A vintage Slot with exclusive Has Of use Twins Twist Frequently asked questions I store just not a lot of, if any, economic suggestions that individuals collect.

Twin Twist Slot Comment 2024 Thrills 10 free spins no deposit bonuses 100 percent free Play Demo Leer más »

Best Online casino source hyperlink Deposit Incentives December 2024

Content Source hyperlink – Promotions and you will incentives Better United states internet casino zero-deposit incentives They’re bonuses of cash in order to choice, totally free revolves to try out which have, or 100 percent free coins. You’ll needless to say want to view just how long your need to obvious wagering conditions and when

Best Online casino source hyperlink Deposit Incentives December 2024 Leer más »

PayPal Game You to definitely Spend Real Mobile slots cash Full List

Articles Mobile slots – Ripple Dollars: Higher paying ripple player Exactly what are game applications you to definitely shell out real cash? Best Bluish-Neckband Operate to possess Gen Z That can Enable you to get a large Salary inside 2025 Solitaire Crush Video games have come a long way because the Pong was released inside

PayPal Game You to definitely Spend Real Mobile slots cash Full List Leer más »

Finest Craps On line for real Currency Best You Craps On Mega Moolah App online casinos the internet 2024

Posts Twist Gambling enterprise – the best Canadian gambling establishment – Mega Moolah App online casinos Earliest Legislation of Craps Enjoy Craps On the web the real deal Money Faqs From the To try out Craps On the web Then you choice $50 for the 5x first bet on the odds Bet and Shooter moves

Finest Craps On line for real Currency Best You Craps On Mega Moolah App online casinos the internet 2024 Leer más »

$5 Lowest Deposit Gambling enterprises Usa Best 5 Money SpinBetter app download Put Casinos 2024

Blogs Wagering Standards: SpinBetter app download Playthrough Standards Put £5 Score Totally free Revolves Extra, £5 Put Gambling enterprises in the British A great $5 put gambling establishment NZ free spins bonus is already SpinBetter app download appealing while the try. Lowest put networks are apt to have seemingly lowest betting standards. Besides the deposit

$5 Lowest Deposit Gambling enterprises Usa Best 5 Money SpinBetter app download Put Casinos 2024 Leer más »

Totally free Slots which have Bonus Rounds Instantaneous Play On the pokie machine Immortal Romance web!

Posts Investigating Las vegas Slot machine game Possibility: pokie machine Immortal Romance Controls from Luck because of the IGT Latest Internet casino News August 2024 Focusing on how Wheel Twist Awarding Harbors Play The brand new You.S. is home to of numerous reliable, subscribed, and you will respected online casinos, and they all the render

Totally free Slots which have Bonus Rounds Instantaneous Play On the pokie machine Immortal Romance web! Leer más »