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

Sin categoría

Greatest 5 100 percent free Revolves No deposit Also offers Selling to have Uk spinata grande $1 deposit Professionals within the 2024

Blogs Finest Slot machines Providing Free Spins – spinata grande $1 deposit Greatest Free Spins Gambling enterprises from the Class Foxy Online game Gambling establishment Review: £40 Ports Added bonus, 40 100 percent free Revolves 100 percent free Revolves No-deposit for Australian Players The professional people rigorously recommendations for every online casino before delegating a […]

Greatest 5 100 percent free Revolves No deposit Also offers Selling to have Uk spinata grande $1 deposit Professionals within the 2024 Leer más »

eCheck Web based casinos Greatest United states Casinos casino Caesar mobile Accepting eCheck Payment Strategy

Blogs Secret Takeaways – The most Leading Gambling on line Web sites | casino Caesar mobile BetRivers Michigan – Greatest Extra Code Render Wire/Lender Transmits On line Lucky Creek gets new clients as much as $7,five- casino Caesar mobile hundred in the extra cash which’s the most significant greeting provide on the all of our

eCheck Web based casinos Greatest United states Casinos casino Caesar mobile Accepting eCheck Payment Strategy Leer más »

مواقع موثوقة لشراء المنشطات

مقدمة تعتبر المنشطات anabolic steroids من بين المواد المستخدمة بشكل شائع في عالم الرياضة لبناء الكتلة العضلية وزيادة الأداء. لكن الأهمية تنبع من ضرورة شراء هذه المواد من مصادر موثوقة لضمان السلامة والجودة. في هذه المقالة، سنستعرض بعض المواقع الموثوقة التي يمكنك الاعتماد عليها في شراء المنشطات. يقدم متجر الفارماكولوجيا الرياضية testobundle.com مستحضرات أصلية فقط

مواقع موثوقة لشراء المنشطات Leer más »

Сrown Сasino Australian continent Greatest Internet casino around top 20 free spins no deposit australia

Articles Top 20 free spins no deposit | The direction to go To play On the web Pokies ·       Usually gamble inside the AUD. List of a knowledgeable Australian Real time Casinos 2024 Alive Broker Game It’s well-known in every corner around the world, and you can Australian continent is just one of the most

Сrown Сasino Australian continent Greatest Internet casino around top 20 free spins no deposit australia Leer más »

Online slots games For real Money Legit Slot Game 888 free app Online 2024

Posts Modern Jackpot Slots | 888 free app How exactly we Rates & Comment an educated Real money Slots Gambling enterprises Bonanza Megaways by the Big-time Gaming Finest Real cash Slots Games Builders Here, you’ll get the best on line dollars ports which our party continue going back to help you, as well as hundreds

Online slots games For real Money Legit Slot Game 888 free app Online 2024 Leer más »

Totally free Ports On the web Play 10000+ play planet moolah slot online Slots For free

Posts Play planet moolah slot online – Willing to enjoy Reel Queen Super the real deal? Features Harbors Opportunity Within the 2022, how many online gambling profiles increased significantly by 15.38%. Depending on the position kind of, the brand new commission fee is dependent upon the following things. Although not, calculating the newest payout fee

Totally free Ports On the web Play 10000+ play planet moolah slot online Slots For free Leer más »

Starburst 100 percent free Spins British Around 50 No deposit Spins secret of nefertiti 2 slot machine 2024

Content Trying to find Their Free online Harbors Game: secret of nefertiti 2 slot machine Starburst Position minute / max bets Gamble Responsibly with this Specialist Resources In the NetEnt The low volatility is made for participants who want to enjoy smaller and normal victories rather than prepared prolonged to have modern profits. The utmost

Starburst 100 percent free Spins British Around 50 No deposit Spins secret of nefertiti 2 slot machine 2024 Leer más »

Top Harbors & Gambling games sticky bandits slot games >> Play for 100 percent free

Content Sticky bandits slot games: So why do casinos provide 100 percent free spins incentives? Allege 5 Totally free No-deposit Revolves For the AZTEC Gems From the NDSLOTS Casino Qbet biedt ten gratis spins zonder storten op Guide out of Inactive Wager For each and every Spin On which game do i need to explore

Top Harbors & Gambling games sticky bandits slot games >> Play for 100 percent free Leer más »