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

Sin categoría

Deposit Jekyll and Hyde slot free spins To your Bingo Sites Having fun with Spend By Cellular phone

Posts Warm Victories – Jekyll and Hyde slot free spins Benefits & Disadvantages away from Spend by the Mobile phone Costs British Casinos Spend by Mobile bingo web sites is actually increasing in their numbers and you may are receiving infamous amongst the gaming area. For those who have a cover as you wade smartphone, […]

Deposit Jekyll and Hyde slot free spins To your Bingo Sites Having fun with Spend By Cellular phone Leer más »

List blazing star 150 free spins of £1 Put Local casino Deposit £step one Score Totally free Revolves

Articles Preferred deposit tricks for $1 deposit gambling enterprises | blazing star 150 free spins Exactly what game must i fool around with on-line casino incentives? Totally free Subscribe Added bonus No-deposit Gambling enterprise Number Discover most recent online casinos to experience, exclusive bonuses, and you will offers to possess Kiwis. Choosing the right deposit

List blazing star 150 free spins of £1 Put Local casino Deposit £step one Score Totally free Revolves Leer más »

Finest Us On-line casino goldbet bonus no deposit Bonuses for 2024 Rating £2,500+

Content Goldbet bonus no deposit – Casino Procedures and you can The new Slot Game: Of Log off Timings on the Development from Slotomania Greatest three real cash casinos on the internet Have a tendency to, you’ll need to play with one exact same percentage way for choosing a great withdrawal for the account. Be

Finest Us On-line casino goldbet bonus no deposit Bonuses for 2024 Rating £2,500+ Leer más »

Finest Internet casino Philippines Starburst slot 2024 Real money Video game

Posts Starburst slot: Greatest Internet poker Bonuses American Display Dumps Credible Support service Debit, credit cards, and you may current notes are an easy way and make gambling establishment dumps. Should your financial institution items an excellent Mastercard debit, it can be used to possess internet casino money. People has plenty of a transactional online gambling

Finest Internet casino Philippines Starburst slot 2024 Real money Video game Leer más »

Dolphin´s Pearl Deluxe video online slot free bonus slot online Gioca Gratis

Articles Dolphin’s Pearl Opinion | online slot free bonus Slot members of the family Dolphin’s Pearl Luxury Slot To try out Techniques Have you been constantly seeking the next trouble with great candidates to achieve your goals and you can wish to make an impression on almost every other gamers during the all of our

Dolphin´s Pearl Deluxe video online slot free bonus slot online Gioca Gratis Leer más »

Greatest $fifty 100 slots n play friday bonus percent free Processor chip No deposit Gambling enterprise Bonus Rules December 2024

Articles Find the best $5 Gambling enterprises in the InsideCasino: slots n play friday bonus Just how can totally free spins & no-deposit free spins work? Luckily the lowest deposit restrictions during these incentives are very quick, which makes them available for all form of gambler. Becoming qualified to receive these types of provide, a

Greatest $fifty 100 slots n play friday bonus percent free Processor chip No deposit Gambling enterprise Bonus Rules December 2024 Leer más »

Greatest 5 Greatest no deposit bonus mr bet casino Real money Gambling enterprises

Posts Top-notch Casino Bonuses: no deposit bonus mr bet casino Inclusion to Real money Playing Casinos on the internet on the Better Online game Diversity Compared with online slots games, table video game need some head ability to play for real money and you may probably earn some cash. While this takes some persistence for

Greatest 5 Greatest no deposit bonus mr bet casino Real money Gambling enterprises Leer más »

Better 5 Best Real money Gambling goldbet casino bonus enterprises

Posts Quality of Local casino Incentives: goldbet casino bonus Addition in order to Real cash Gambling Web based casinos on the Greatest Video game Variety In contrast to online slots games, dining table video game require some notice capability to play for a real income and potentially win some money. Although this requires a bit

Better 5 Best Real money Gambling goldbet casino bonus enterprises Leer más »

On-line casino Welcome Incentive Better Signal-Upwards casino ComeOn Offers 2024

Content The way we Rates five-hundred% Greeting Bonuses – casino ComeOn Best Game to have Added bonus Betting Most rarely, and i have only viewed it occurs after, an on-line local casino often reduce bonus so you can a specific software supplier. With greater regularity, might discovered a list of online game where you are

On-line casino Welcome Incentive Better Signal-Upwards casino ComeOn Offers 2024 Leer más »