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

Sin categoría

Easiest Online casinos in the usa Secure casino Queen of Hearts Betting within the 2024

Articles Casino Queen of Hearts: Video poker Which are the Finest On-line casino Software Designers? Do i need to enjoy bingo on the internet the real deal money? Refund granted while the low-withdrawable Gambling establishment web site credit you to definitely ends seven days once receipt. Only earnings away from casino incentives played to the […]

Easiest Online casinos in the usa Secure casino Queen of Hearts Betting within the 2024 Leer más »

Better casino Kerching no deposit bonus A real income Web based casinos 2024 Finest Payout Online casinos

Content The newest Betting Information – December 2024 | casino Kerching no deposit bonus Bringing an excellent PA Casino Extra Countless Game To understand more about BetOnline’s poker area try a sanctuary to own professionals seeking to variety and you may competition, having video game for example Texas Keep’em and you may Omaha Casino poker

Better casino Kerching no deposit bonus A real income Web based casinos 2024 Finest Payout Online casinos Leer más »

Best 4 no deposit free spins online pokies india Local casino Sites one to Accept Cellular telephone Statement 2024

Blogs No deposit free spins online pokies india | Using With Prepaid Credit The brand new pay because of the mobile phone gambling enterprises United kingdom 2024 Benefits away from GamStop-100 percent free Options to expend By Cellular Gambling enterprises More often than not it’ll sit-in the back ground harvesting research including charge card details,

Best 4 no deposit free spins online pokies india Local casino Sites one to Accept Cellular telephone Statement 2024 Leer más »

Finest A real income Casinos on the internet 2024 Better Payout Casinos on the Resident play slot internet

Blogs The newest Gambling Development – December 2024 | Resident play slot Taking an excellent PA Casino Bonus Hundreds of Online game To understand more about BetOnline’s casino poker place are a refuge to possess professionals looking to variety and you will competition, having game for example Texas Keep’em and Omaha Poker taking cardio phase.

Finest A real income Casinos on the internet 2024 Better Payout Casinos on the Resident play slot internet Leer más »

No deposit Extra Gambling enterprises Ireland Best Offers within how to withdraw from ice casino the December 2024

Content How to withdraw from ice casino – Spy Harbors Knowledge Greeting Incentive Fine print How you can make sure you’lso are joining and you can to try out in the a legit internet casino otherwise sweepstakes gambling establishment is always to stick with platforms found here at Discusses. A zero-put added bonus gives players

No deposit Extra Gambling enterprises Ireland Best Offers within how to withdraw from ice casino the December 2024 Leer más »

Shell out by Mobile Gambling jack beanstalk online slot enterprise United kingdom Deposit by Cellular telephone Statement 2024

Content Jack beanstalk online slot: ❇ Cellular Payments and you may Prompt Withdrawals Best for Real time Agent Online casino games: BetWay World Sport Bet Casino Of these seeking the best United kingdom gambling enterprise apps giving no deposit bonuses, Vegas Mobile Local casino, Celebrity Sporting events, and you will Mr. Enjoy excel while the

Shell out by Mobile Gambling jack beanstalk online slot enterprise United kingdom Deposit by Cellular telephone Statement 2024 Leer más »

100 percent hyperlink free £10 No-deposit Casino Incentives United kingdom Verified Now offers

Content No deposit Bonus Revolves: hyperlink Put 5 Rating Bonus Extra Variations Ladbrokes and you may Bet365 accept £5 deposits but you want a great £10 purchase or lifetime put until the spins open, and then we listing those who work in the £5 minimal deposit casinos that have huge bonuses. Of numerous £5 put

100 percent hyperlink free £10 No-deposit Casino Incentives United kingdom Verified Now offers Leer más »

Free £10 No-deposit video slot 1 paylines Casino Bonuses Uk Affirmed Also offers

Posts Video slot 1 paylines: No deposit Added bonus Revolves Deposit 5 Get Incentive More Variations Ladbrokes and you will Bet365 undertake £5 places but you want an excellent £ten invest otherwise existence deposit through to the spins discover, so we checklist those who work in our very own £5 minimum deposit casinos which have

Free £10 No-deposit video slot 1 paylines Casino Bonuses Uk Affirmed Also offers Leer más »