/** * 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 3 – My CMS

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

Month: August 2024

Auto loans that have private service out-of people who worry

Auto loans that have private service out-of people who worry Before you start interested in your next auto, rating funded with our team earliest to make the auto to purchase process much easier and quicker. After you refinance with our company, you inform us after you desires to create your mortgage payment. We can agenda …

Auto loans that have private service out-of people who worry Read More »

Who’s responsible for operating your personal data?

Who’s responsible for operating your personal data? We encourage you of the significance of looking over this Individual-Studies Coverage Policy any time you are going to have fun with all of our Webpages, as it may feel susceptible to transform. Just what will i use your private information having? To transmit you the newest editions …

Who’s responsible for operating your personal data? Read More »

How-to Make an application for a good PennyMac Financial

How-to Make an application for a good PennyMac Financial Antique Financing Traditional finance are a lesser-pricing solution. Whenever you make an advance payment from 20%, you don’t need to cover financial insurance rates. Yet not, you can receive a traditional financing that have an increase while the lowest as step 3%. You are able to …

How-to Make an application for a good PennyMac Financial Read More »

Home loan finance companies create cash as a consequence of desire income, the product sales out of funds and mortgage servicing earnings

Home loan finance companies create cash as a consequence of desire income, the product sales out of funds and mortgage servicing earnings Information get available accounting Securitizations from the financial industry is collateralized having household otherwise commercial mortgages consequently they are packaged toward financial-backed bonds (MBS) which can be sold to organization investors seeking read …

Home loan finance companies create cash as a consequence of desire income, the product sales out of funds and mortgage servicing earnings Read More »

Regardless is, regional snacks is called for-have your traditional Dominican relationship

Regardless is, regional snacks is called for-have your traditional Dominican relationship Dominican Mail-order Brides: Personality traits, Myths, And Will set you back But they are simply academically wise and you may see feminine skills from usually help their dudes, encouraging, and you may getting its men so you’re able to most readily useful proper right …

Regardless is, regional snacks is called for-have your traditional Dominican relationship Read More »

step 3 No-Nos off Mobile Domestic Playground Using

step 3 No-Nos off Mobile Domestic Playground Using Mobile Family Areas are terrific financial support ventures to have individual commercial people, especially today on increased demand for are built residential property due to the latest affordable property crisis. not, a lot of commercial investors try forgotten possibilities down to dropping to your step 3 “No-Nos” …

step 3 No-Nos off Mobile Domestic Playground Using Read More »

We offer finance getting small enterprises having poor credit studies

We offer finance getting small enterprises having poor credit studies Poor credit results is a common issue for a number of small enterprises that need to try to get investment. Only at Clear Skies Investment, our company is happy to give loans getting small enterprises that have bad credit recommendations with the help of our …

We offer finance getting small enterprises having poor credit studies Read More »

Axos Bank is another monetary service one to features for example Dave, providing profiles less entry to the paychecks

Axos Bank is another monetary service one to features for example Dave, providing profiles less entry to the paychecks It also provides you with a defence ability against overdraft charges when your setup a recurring tip off $step one.50 and you may more than. step three. Axos Lender After you unlock a high-yield savings and …

Axos Bank is another monetary service one to features for example Dave, providing profiles less entry to the paychecks Read More »

How exactly to Submit an application for Notice Framework Home loan out-of Muthoot FinCorp

How exactly to Submit an application for Notice Framework Home loan out-of Muthoot FinCorp The process having trying to get a personal framework financing is fairly straightforward, which will be built to be sure that loan recognition and you may disbursal procedure was troubles-100 % free. A few of the how to get a loan …

How exactly to Submit an application for Notice Framework Home loan out-of Muthoot FinCorp Read More »

Were there Advantages to Providing A great HELOC Towards the Investment property?

Were there Advantages to Providing A great HELOC Towards the Investment property? Particular professionals can be worth offered before you could write off HELOCs because the very costly or hard to obtain. As an investor, we need to make sure that your assets are energetic. Money tied up within the an excellent property’s guarantee during …

Were there Advantages to Providing A great HELOC Towards the Investment property? Read More »