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

Sin categoría

Appeal Las vegas is actually several other sweepstakes betting web site where people is actually delight in gambling enterprise-build games in the us

Wow Las vegas Local casino Feedback. Allure Vegas is basically a personal casino that provides an effective library from gambling establishment-make online game that one can appreciate using the fresh new free you to definitely. MW Functions Minimal is the team behind Inspire Las vegas, and this is the initial sweepstakes casino. Evaluation. It will […]

Appeal Las vegas is actually several other sweepstakes betting web site where people is actually delight in gambling enterprise-build games in the us Leer más »

Even now, this one is among the most well-known and you will reliable methods utilized in the newest to relax and play

Most useful Ewallet Gambling establishment Will cost you. You will see resources deposit and you may withdraw money with this particular kind of from services. You’ll discover https://efbet-casino.com.gr/khoris-mponous-katatheses/ typically the most popular and also you commonly credible digital wallets, and additionally find out more about the positives and negatives. Let us start-off learn about local

Even now, this one is among the most well-known and you will reliable methods utilized in the newest to relax and play Leer más »

Inspire Vegas is yet another sweepstakes betting website where participants is also enjoy local casino-build game in america

Wow Las vegas Gambling enterprise Remark. Encourage Las https://zetbetcasino.co.uk/en-gb/login/ vegas try a personal gambling establishment that offers a collection out-of local casino-layout video game that one may play with the 100 percent free that. MW Properties Limited ‘s the organization about Wow Vegas, and this refers to their basic sweepstakes gambling establishment. Research. It does

Inspire Vegas is yet another sweepstakes betting website where participants is also enjoy local casino-build game in america Leer más »

Can i win real money having fun with Your on-line casino no-put bonuses?

Ideal No deposit Online casino Incentives in america. An out in-breadth worry about-self-help guide to shopping for online casino profit this new regulated Us casinos. Past Current: . Totally free Added bonus. Most useful No deposit. Top-tier a hundred % free give. Discuss Code: POKERFUSE. Large 100 percent free render. Quality zero-deposit. Fool around with

Can i win real money having fun with Your on-line casino no-put bonuses? Leer más »

Should i profit real money having fun with Your online casino no-deposit incentives?

Greatest No deposit Online casino Bonuses in the usa. An out in-breadth self-help guide to searching for free online local casino money in this new regulated All of us gambling enterprises. Past Updated: . 100 percent free Bonus. Better No deposit. Top-tier a hundred % free promote. Mention Password: POKERFUSE. Large free promote. Quality zero-deposit.

Should i profit real money having fun with Your online casino no-deposit incentives? Leer más »

Can i earn real cash using You online casino no-put incentives?

Better No-deposit https://goslotcasino.nl/ Online casino Bonuses in america. An out in-depth notice-help guide to looking online gambling enterprise cash in the new controlled Us gambling enterprises. History Updated: . 100 percent free Extra. Finest No-deposit. Top-tier a hundred % free promote. Explore Password: POKERFUSE. Highest free promote. High quality zero-deposit. Explore Code: POKERFUSE. Name step

Can i earn real cash using You online casino no-put incentives? Leer más »

Do i need to winnings real cash having fun with Your online casino no-put incentives?

Finest No-deposit Online casino Incentives in america. An in-breadth self-help guide to in search of free online gambling establishment profit the latest controlled You casinos. Past Upgraded: . 100 percent free Incentive. Most useful No deposit. Top-level 100 % 100 percent free give. Talk about Code: POKERFUSE. Large 100 percent free provide. Top quality zero-put.

Do i need to winnings real cash having fun with Your online casino no-put incentives? Leer más »

Ought i victory real money playing with You internet casino no-put bonuses?

Most readily useful No-deposit On-line casino Incentives in america. A call at-depth care about-help guide to shopping for free online casino money in this new regulated All of us gambling enterprises. History Updated: . Free Bonus. Top No-deposit. Top-tier a hundred % totally free render. Explore Password: POKERFUSE. High totally free provide. High quality zero-deposit.

Ought i victory real money playing with You internet casino no-put bonuses? Leer más »

Particular gambling enterprises might let you delight in electronic dining table online game like roulette and black colored-jack, but with off wagering benefits

And you will i produced withdrawing your own winnings exactly as easy Would I want to sign up for an account in order to help you allege added bonus money at the You gambling enterprises on internet sites? Sure, since the no-deposit bonuses was addressed including real cash, you will need to register for a

Particular gambling enterprises might let you delight in electronic dining table online game like roulette and black colored-jack, but with off wagering benefits Leer más »

I am going to let you know that an opinion out-of gaming is totally even more

I do believe they�s genuine right now, anybody earns towards on the internet services, however, individuals features an easy way to create cash with no purchase, given that regarding a knowing simple an effective way to accomplish that Ends now. Incentive Variety of : 100 percent free Revolves That have people : New Professionals and

I am going to let you know that an opinion out-of gaming is totally even more Leer más »