/** * Sticky Header - Customizer. * * @package Astra Addon * @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 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; $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'] = ''; /** * Transparent Header Responsive Colors */ $defaults['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(), ) ); } } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Ext_Transparent_Header_Loader::get_instance(); August 2024 – Page 13 – My CMS

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

Month: August 2024

What you should Hear Before you apply to possess a no Borrowing from the bank Look at Loans?

What you should Hear Before you apply to possess a no Borrowing from the bank Look at Loans? Because lenders bring this type of short-title loans in lower amounts, we’d to pick the new networks who provide the fairest lending numbers you are able to. Which have loans getting together with figures of up to …

What you should Hear Before you apply to possess a no Borrowing from the bank Look at Loans? Read More »

The expenses Working in a good Language Financial

The expenses Working in a good Language Financial Most of the Foreign language mortgages do the Euribor interest ft speed, lay by Eu Central Financial, and include a share over the top. Banks are free to incorporate their particular prices, in behavior, intense battle implies that most charge equivalent rates. Inside the late 2020, the …

The expenses Working in a good Language Financial Read More »

The new individuality out-of Figure’s HELOC is the fact it is versatile compared to a timeless domestic security financing

The new individuality out-of Figure’s HELOC is the fact it is versatile compared to a timeless domestic security financing Household Guarantee Personal line of credit (HELOC) is actually a line of credit that enables the fresh borrower to draw towards the as needed before restriction count are achieved. Shape will bring HELOC to consumers away …

The new individuality out-of Figure’s HELOC is the fact it is versatile compared to a timeless domestic security financing Read More »

A good. Application Circulate to possess Carrying out a new App

A good. Application Circulate to possess Carrying out a new App We are going to help you find a new mortgage package for your the fresh household start all of our you to-second on the web software quick acceptance. Acquire Mortgage brokers Mortgage Service Pros Application Circulate Benefits Application Flow Function as very first to …

A good. Application Circulate to possess Carrying out a new App Read More »

What is the processes getting refinancing mortgage?

What is the processes getting refinancing mortgage? From inside the a mortgage refinance, you’re taking aside a special financial to repay your existing financial. Once you had your first mortgage to purchase your domestic, the money you borrowed from visited the seller; this time around, the cash you get regarding financing goes toward your existing …

What is the processes getting refinancing mortgage? Read More »

5 ideal Richest guy internet dating sites in order to meet Millionaires in 2023

If you are searching for a mature richest man dating sites , you should know there exists too much to select. It is far from easy these days to get to know a skilled glucose father . The thing is that wealthy the male is usually surrounded by breathtaking, sensuous girls who are really insistent. …

5 ideal Richest guy internet dating sites in order to meet Millionaires in 2023 Read More »

Whether your member was entry-level from the bank together with specialist is experienced, this produces a rift between the two

Whether your member was entry-level from the bank together with specialist is experienced, this produces a rift between the two Team Analyst. Some companies make employees build up in order to seventy-four instances a week. McKinsey . Business experts earn a somewhat higher average annual paycheck out of $75,575. CFA vs. PwC professionals carry out …

Whether your member was entry-level from the bank together with specialist is experienced, this produces a rift between the two Read More »

OkCupid only added a new feature for polyamorous couples – HelloGigglesHelloGiggles

Over the past ten years, online dating is starting to become probably one of the most common approaches to satisfy potential considerable other individuals. But some in the much more mainstream sites have now been sluggish to catch with brand new techniques individuals are internet dating, specifically as they concern alternative lifestyles. Recently, though, it …

OkCupid only added a new feature for polyamorous couples – HelloGigglesHelloGiggles Read More »

Dominican Send-Buy Brides: What are a spouse out of Dominican Republic?

Dominican Send-Buy Brides: What are a spouse out of Dominican Republic? Today, I receive you to carry on an informative mining from Dominican mail-buy brides. That it full guide talks about cultural, court, and you will moral factors one to dictate the fresh lifestyle ones female. Get skills by way of stories off Dominican ladies …

Dominican Send-Buy Brides: What are a spouse out of Dominican Republic? Read More »