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

Sin categoría

Greatest United states Spend From the Cell online slot machines reddit phone Gambling enterprises 2024

Blogs Shell out because of the Cellular Processing Moments and Fees – online slot machines reddit SlotoNights The issue is you might tend to just withdraw having a technique you’ve previously used to help you deposit. When you’ve online slot machines reddit simply actually deposited via mobile phone in the a gambling establishment then the […]

Greatest United states Spend From the Cell online slot machines reddit phone Gambling enterprises 2024 Leer más »

Greatest On-line casino Philippines 2024 A real income Video 50 no deposit spins Magic Love game

Posts Super Ports Gambling enterprise – 50 no deposit spins Magic Love What to Find When shopping for The top Ten On the internet Casinos At the same time, to possess desk game enthusiasts, headings for example Infinite Black-jack and you will Super Roulette by the Advancement are typically experienced the best. QueenSpins Local casino

Greatest On-line casino Philippines 2024 A real income Video 50 no deposit spins Magic Love game Leer más »

Finest Online casino Philippines 2024 Real cash casino Bgo mobile Online game

Articles Awesome Ports Casino | casino Bgo mobile Things to Come across When shopping for The major 10 On line Casinos At the same time, for desk gamers, headings such as Unlimited Black-jack and you will Super Roulette by the Development are generally sensed the best. QueenSpins Casino also provides a stylish bargain out of

Finest Online casino Philippines 2024 Real cash casino Bgo mobile Online game Leer más »

Ideas on how to Play Blackjack to begin with Learn gonzos quest online slot and commence successful

Blogs Greatest On the web Black-jack Casinos for real Currency: gonzos quest online slot Tips Play Online Black-jack free of charge Advantages & Cons of To try out Free online Black-jack For many who higher roll to try out on line black-jack, you will likely be greeting getting an excellent VIP and could ultimately secure

Ideas on how to Play Blackjack to begin with Learn gonzos quest online slot and commence successful Leer más »

Best On-line casino Philippines 2024 Real casino 138 login cash Online game

Content Casino 138 login: Awesome Slots Local casino Things to Discover When looking for The major Ten On the web Gambling enterprises At the same time, to have desk gamers, titles including Unlimited Blackjack and you will Lightning Roulette by the Evolution are generally experienced the best. QueenSpins Local casino now offers a stylish offer

Best On-line casino Philippines 2024 Real casino 138 login cash Online game Leer más »

Better Hot Fruits 10 slot free spins Online casino Philippines 2024 Real cash Games

Posts Awesome Harbors Casino: Hot Fruits 10 slot free spins What things to Find When searching for The big Ten On line Casinos Meanwhile, for desk gamers, titles including Infinite Blackjack and you will Lightning Roulette by the Advancement are typically felt among the better. QueenSpins Casino also provides an appealing deal out of 125

Better Hot Fruits 10 slot free spins Online casino Philippines 2024 Real cash Games Leer más »

Better free no deposit casino bonus codes australia Online casino Philippines 2024 A real income Game

Content Free no deposit casino bonus codes australia | Super Harbors Casino What things to Come across While looking for The top 10 On line Casinos Meanwhile, to have desk game enthusiasts, headings for example Unlimited Blackjack and you will Lightning Roulette from the Development are generally thought among the better. QueenSpins Gambling free no

Better free no deposit casino bonus codes australia Online casino Philippines 2024 A real income Game Leer más »

£5 Put Gambling enterprises Not on BetVictor casino mobile GamStop Fool around with 5 Lbs

Content BetVictor casino mobile | Weight No deposit Extra: Outlined Review Put 5 Fool around with fifty Gambling establishment Incentives Wait for Sms on the gambling enterprise and you will copy the newest verification password to your designated package on the monitor. Remember that totally free spins expire within seven days, so it’s vital that

£5 Put Gambling enterprises Not on BetVictor casino mobile GamStop Fool around with 5 Lbs Leer más »

Spend by Cellular Gnome free spins 150 Casinos The brand new Gambling enterprises Taking Mobile phone Payment

Content Sports betting: Gnome free spins 150 Finest MuchBetter Casinos in britain BetMGM is among the better the newest gambling enterprises for British participants, presenting tonnes from personal slots and you can an extremely real table online game feel. The largest mobile percentage experience Fruit Pay, which makes it quite simple for ios profiles so

Spend by Cellular Gnome free spins 150 Casinos The brand new Gambling enterprises Taking Mobile phone Payment Leer más »