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

Sin categoría

To learn more concerning your additional goods excite promote you a call now from inside the: 631-242-2440

TopX is actually a different local casino you to definitely has just released, yet it currently now offers over 4,000 online game with Bangladeshi participants. Talk about the fresh opinion created by all of our gurus to know about bonuses, security measures, or other essential facts about the brand new gambling establishment. What Incentives and […]

To learn more concerning your additional goods excite promote you a call now from inside the: 631-242-2440 Leer más »

We recommend trying have prompt money, in order to see the payouts quicker

Part 76 of Utah Criminal Password shows you one betting form �risking some thing of value with money or risking anything regarding really worth toward consequences from a contest, games, playing strategy, if you don’t betting product Jeton Casino Incentives. Therefore, m�k� �ur� the ��r�full� look at the commission ��l��y at your chosen casino. Unavailable

We recommend trying have prompt money, in order to see the payouts quicker Leer más »

I encourage looking to possess punctual money, so you can comprehend the payouts more readily

Part 76 of your Utah Unlawful Password demonstrates to you you to betting mode �risking anything of value with money or risking some thing of well worth for the lead of a contest, video game, gaming method, if not gaming unit Jeton Casino Bonuses. Due to this, m�k� �ur� the ��r�full� take a look at

I encourage looking to possess punctual money, so you can comprehend the payouts more readily Leer más »

Know Black-jack: Good Beginner’s Worry about-help guide to Effective

Exactly what are the Differences in The overall game out of Black colored-jack? Understand such procedures: Get a staff. You would not end up being making far access to firearms otherwise vacation car for this reason for these eg anyone who was least expensive. Yet not, you really must have an informed hacker, especially if

Know Black-jack: Good Beginner’s Worry about-help guide to Effective Leer más »

We recommend seeking to enjoys fast income, in order to comprehend the earnings more quickly

Area 76 of Utah Violent Password explains one to betting function �risking anything of value that have money otherwise risking anything away from really worth on the consequences out-of an event, video game, betting approach, otherwise gambling tool Jeton Casino Incentives. This is why, m�k� �ur� their ��r�full� browse the percentage ��l��y at your chosen

We recommend seeking to enjoys fast income, in order to comprehend the earnings more quickly Leer más »

Very Slots Gambling enterprise integrates quick earnings that have a massive band of harbors off ideal team

SlotsandCasino is simply a reliable website having higher level online game and you may a good amount of off an educated online slots games Fantastic Hearts Games. Provided Says: Most of the 50 U. S. Claims Full Comment:Fantastic Hearts Game Feedback. Fantastic Hearts Games released in to get to be the planet’s earliest basis public

Very Slots Gambling enterprise integrates quick earnings that have a massive band of harbors off ideal team Leer más »

Grasp Black colored-jack: A great Beginner’s Guide to Energetic

Which are the Variations in The video game out-of Black-jack? Pursue such as methods: Hire an employee. You will not getting and make much access to firearms otherwise stay away from car hence of them choose whoever is basically very affordable. promo codes casumo perhaps not, you’ll want an informed hacker, particularly if the vault

Grasp Black colored-jack: A great Beginner’s Guide to Energetic Leer más »

To find out more from much more qualities excite provide us with a call today within: 631-242-2440

TopX are another type of local casino one has just put out, yet they already offers more cuatro,100000 game to own Bangladeshi professionals. Discuss this new viewpoints crafted by the positive Evobet casino zonder storting points to learn about incentives, security features, and other important info regarding the current gambling establishment. Exactly what Bonuses and

To find out more from much more qualities excite provide us with a call today within: 631-242-2440 Leer más »

To learn more to the extremely products please render you a trip today regarding the: 631-242-2440

TopX is actually a unique local casino that recently delivered, yet it currently also provides alot more 4,one hundred thousand games getting Bangladeshi professionals. Talk about the latest advice created by all of our positive points to know about bonuses, security features, and other very https://stanleybets.net/login/ important information about the fresh gambling establishment. What Bonuses

To learn more to the extremely products please render you a trip today regarding the: 631-242-2440 Leer más »