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

Sin categoría

Da slot Baywatch Hong Bao Position 100 percent free Trial & Game Remark October 2024

Blogs Slot Baywatch – Searched Articles jopa 500€ + two hundred FS + 1 Added bonus Crab How do i rating More Revolves to your Controls out of Spinz? da hong bao gold slot wager real money Minimal put so you can meet the requirements are £10, which have benefits varying from the video game […]

Da slot Baywatch Hong Bao Position 100 percent free Trial & Game Remark October 2024 Leer más »

The best Sites for 2024 in the Gambling Fortunes of Sparta Rtp slot online casino enterprises com

Content Fortunes of Sparta Rtp slot online casino | Is actually casino incentives for just the newest participants? Stay on the top of revolution with development and position to your Gambling enterprise, Gaming and a lot more Pragmatic Enjoy You select a remaining hand icon together with your mouse, that will tell you a prize.

The best Sites for 2024 in the Gambling Fortunes of Sparta Rtp slot online casino enterprises com Leer más »

Red dog Gambling establishment one hundred Totally free Revolves Resident mobile For Vegas Lux The fresh People

Articles Resident mobile: Obtain Our very own Gambling enterprise App Today 5M Gold coins + Free step 3,five-hundred Sweepstakes Gold coins Keep up with the every day free revolves and you will coins hyperlinks Because you’ll see in the brand new casino’s advertisements library, there are numerous coupon codes to help you get. For each

Red dog Gambling establishment one hundred Totally free Revolves Resident mobile For Vegas Lux The fresh People Leer más »

Online casino Position casino Oinkbingo mobile Game

Content Casino Oinkbingo mobile – Better Casinos Offering Super Package Video game Games: Are there bonuses designed for to play the favorable Blue Position? Find out more slots to experience 100percent free Luxury Gambling establishment Observe most other people The favorable Blue Jackpot position from the Playtech have around three special features. When to experience

Online casino Position casino Oinkbingo mobile Game Leer más »

Super Connect Pokie Review around australia Beginning to Play Demonstration next On line

Content Pokies Online game Diversity | next Larger Reddish Pokie Host Free Zero Install NZ Casinos on the internet 2024 Lightning Dollars – Ideas on how to Earn The new Progressive Jackpot? Of a lot programs servers special events and you may campaigns offering 100 percent free gold coins since the honors. Lightning Hook Free

Super Connect Pokie Review around australia Beginning to Play Demonstration next On line Leer más »

Genie Jackpots Position Redbet 50 free spins no deposit required Game Opinion, RTP & Totally free Gamble Demonstration

Articles Really does Genie Jackpots Wishmaker has totally free revolves?: Redbet 50 free spins no deposit required around €five-hundred + 2 hundred Added bonus Spins Almost every other Blueprint Betting Harbors GENIE JACKPOTS On the internet Slot Comment The Redbet 50 free spins no deposit required brand new crazy will even choice to any icon

Genie Jackpots Position Redbet 50 free spins no deposit required Game Opinion, RTP & Totally free Gamble Demonstration Leer más »

Genie Jackpots Position Video game Remark, RTP & Free Gems Bonanza Real Money casino real money Gamble Demo

Content Gems Bonanza Real Money casino real money | Really does Genie Jackpots Wishmaker have free spins? as much as €500 + 200 Incentive Spins Other Blueprint Gambling Slots GENIE JACKPOTS On line Position Review The fresh insane will also solution to any icon besides the benefit icons. Like the majority of online slots games,

Genie Jackpots Position Video game Remark, RTP & Free Gems Bonanza Real Money casino real money Gamble Demo Leer más »

Piggy Bankers Position casino Go Lucky Demo & Review ᐈ Practical Play

Articles Local casino Incentives – casino Go Lucky Discover a casino game with high RTP Steps to make in initial deposit? Insane Icons Wilds have a similar value since the golden piggy bank when doing wild range wins. Wilds try 1×1 in dimensions however, setting huge wilds whenever piled, up 2nd. Scatter and you can

Piggy Bankers Position casino Go Lucky Demo & Review ᐈ Practical Play Leer más »

Wonderful Goddess Position: Totally free Position Online game Playing Rainbow Riches Rtp slot machine Online by the IGT

Posts Present Professionals: fifty Free Revolves No deposit Bonuses – Rainbow Riches Rtp slot machine Local casino Spins with no Deposit Bonuses – Pros & Cons Beste casinoer som tilbyr spill fra IGT: Newest Boku Gambling enterprise & Harbors Analysis The benefit symbols might be anything for example Goddess, Kid, Horse, or Dove. The advantage

Wonderful Goddess Position: Totally free Position Online game Playing Rainbow Riches Rtp slot machine Online by the IGT Leer más »