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

Sin categoría

Tips Play fishing frenzy online casinos Blackjack On line Regulations & Tricks for Beginners

Content Seasonal Black-jack Online game: fishing frenzy online casinos Don’t Disregard In charge Betting Techniques in the Blackjack Casinos All the a alive local casino investors uses a footwear from multiple decks from notes and sometimes shuffle the fresh platform, reducing the function of participants to count notes. Alive specialist black-jack are a game that […]

Tips Play fishing frenzy online casinos Blackjack On line Regulations & Tricks for Beginners Leer más »

Finest Online slots for real Money: ten Greatest Gambling establishment Sites victorian villain slot machine to have 2024

Articles Classic Desk Games – victorian villain slot machine Do you need to gamble just before signing up for? Is actually the most famous online game 100percent free right here Online casinos To stop Wild Gambling establishment along with allows people to participate seasonal incidents offering more 100 percent free games opportunities, deciding to make

Finest Online slots for real Money: ten Greatest Gambling establishment Sites victorian villain slot machine to have 2024 Leer más »

$ten Put Casinos casino games software 2024 $ten Put Added bonus Rules

Posts Caesars Castle Gambling enterprise Promo Password: casino games software Greatest Internet casino Incentives & Coupon codes Nuclear Invest along with shares a percentage from compensation gotten of margin attention and you will totally free dollars interest earned from the customers that have NerdWallet. NerdWallet is not an individual of Nuclear Dedicate, but our very

$ten Put Casinos casino games software 2024 $ten Put Added bonus Rules Leer más »

$ten Deposit Gambling enterprises 2024 $ten Put Incentive reel circus $1 deposit Codes

Blogs Caesars Palace Local casino Promo Code | reel circus $1 deposit Greatest On-line casino Bonuses & Coupon codes Atomic Dedicate and shares a portion out of settlement gotten away from margin focus and totally free dollars desire attained by users having NerdWallet. NerdWallet isn’t an individual out of Nuclear Purchase, but our very own

$ten Deposit Gambling enterprises 2024 $ten Put Incentive reel circus $1 deposit Codes Leer más »

Online Black-jack Today! 100 free spins no deposit casino william hill The real deal Currency otherwise Free

Articles 100 free spins no deposit casino william hill: Even money Limitless Local casino Enjoyable: Discover Best Totally free Blackjack Video game! Can you Earn A real income When Playing Free Blackjack Game? It’s interesting enjoyable which have a hope away from enjoyment that can perhaps not 100 free spins no deposit casino william hill

Online Black-jack Today! 100 free spins no deposit casino william hill The real deal Currency otherwise Free Leer más »

Pocket Gambling wild shark slot machine enterprise Review £100 Incentive, 15 choice-totally free revolves!

Content Wild shark slot machine: Pocket Gambling establishment slots and online casino games Defense Index out of Pouch Gamble Gambling enterprise informed me Right here, you may enjoy the likes of Evolution Gambling, Nolimit Urban area, otherwise Hacksaw Gaming, one of a lot more. You can place any local casino at the side of Wallet

Pocket Gambling wild shark slot machine enterprise Review £100 Incentive, 15 choice-totally free revolves! Leer más »

Pocket Gambling establishment Comment £one hundred Added bonus, Bitstarz slot 15 wager-totally free spins!

Articles Bitstarz slot – Wallet Casino harbors and you will online casino games Defense Directory from Pocket Enjoy Gambling establishment informed me Here, you can enjoy the like Development Playing, Nolimit City, otherwise Hacksaw Gambling, certainly many more. You can set some Bitstarz slot other gambling enterprise beside Pouch Local casino and you may contrast

Pocket Gambling establishment Comment £one hundred Added bonus, Bitstarz slot 15 wager-totally free spins! Leer más »

Finest virtual casino Cellular Gambling enterprises British to own 2024 Best Casino Software

Articles Virtual casino: Can i Believe The results Away from Mobile Gambling games During the JMC? Create United kingdom casinos shell out once you winnings? Choice £ten Score 20 Free Revolves on the Large Trout Splash Regarding pay by cellular telephone costs casino Uk internet sites, there are many points to bear in mind. With

Finest virtual casino Cellular Gambling enterprises British to own 2024 Best Casino Software Leer más »

Finest Ny slot games zeus Online casinos to own 2024: Best New york Gambling Sites

Posts Is on the net gaming legal around australia? | slot games zeus Illegal casinos are utilizing Roblox to draw students to your online gambling These features merge to really make it one of the major online casinos Us to own gamers currently. Along with 5 years of experience, Hannah Cutajar now guides we out

Finest Ny slot games zeus Online casinos to own 2024: Best New york Gambling Sites Leer más »

Greatest New york Web based casinos $20 deposit online casino for 2024: Greatest Nyc Gambling Sites

Blogs Is on the net betting court in australia? – $20 deposit online casino Illegal casinos are employing Roblox to draw students for the online gambling These features combine to really make it one of the leading on the internet gambling enterprises Usa to possess gamers currently. Along with 5 years of experience, Hannah Cutajar

Greatest New york Web based casinos $20 deposit online casino for 2024: Greatest Nyc Gambling Sites Leer más »