/** * 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(); July 2024 – Page 34 – My CMS

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

Month: July 2024

Getting ready to Get a keen SBA Mortgage

Getting ready to Get a keen SBA Mortgage Most of the time whenever we begin working having a buyers to help you safe an SBA financing, they are concerned with the duration of the process and you can number off files. But that is as to the reasons it is essential to make an application …

Getting ready to Get a keen SBA Mortgage Read More »

Zero Earnings Confirmation Mortgage loans: Lenders As opposed to Documents

Zero Earnings Confirmation Mortgage loans: Lenders As opposed to Documents You are always required to offer proof of income whenever applying to possess a mortgage loan. Self-functioning consumers while others without antique income however, otherwise good borrowing from the bank and also the capacity to pay-off debt must play with a good no income confirmation …

Zero Earnings Confirmation Mortgage loans: Lenders As opposed to Documents Read More »

Discover lasting connections with neighborhood gay singles

Discover lasting connections with neighborhood gay singles Craigslist is a fantastic resource for finding lasting connections with local gay singles. whether you are looking for anyone to go out with or just desire to it’s the perfect time, craigslist is a superb strategy for finding that which you’re looking for. one of many advantages of …

Discover lasting connections with neighborhood gay singles Read More »

Check out this Before you could Score a variable-Price Financial

Check out this Before you could Score a variable-Price Financial Kimberly Amadeo is a specialist on the You.S. and you may business economies and investing, with more than twenty years of expertise into the financial investigation and team approach. This woman is the fresh new Chairman of the financial site Community Money Watch. Because the …

Check out this Before you could Score a variable-Price Financial Read More »

Ergo, it is critical for college students to learn this new particulars of their financial institutions

Ergo, it is critical for college students to learn this new particulars of their financial institutions Having universities and colleges consider choices to make groups myself otherwise around this slip, college students without doubt currently have a reasonable number of be concerned away from brand new following semester. Whether kinds try online or perhaps not, …

Ergo, it is critical for college students to learn this new particulars of their financial institutions Read More »

AG Shapiro Secures $5.3 Million in debt Save to have 570 Pennsylvania ITT Tech People in Multistate Payment

AG Shapiro Secures $5.3 Million in debt Save to have 570 Pennsylvania ITT Tech People in Multistate Payment HARRISBURG – Attorneys Standard Josh Shapiro today revealed one a bipartisan coalition off 49 Lawyer Standard reached funds which have College student CU Link CUSO, LLC (CUSO) detailed with more $168 million with debt rescue for over …

AG Shapiro Secures $5.3 Million in debt Save to have 570 Pennsylvania ITT Tech People in Multistate Payment Read More »

What exactly are specific solutions to a personal bank loan?

What exactly are specific solutions to a personal bank loan? Can you afford to undertake other personal loan – as well as the monthly payments that come with it? When your funds is already expanded slim, including a unique consumer loan fee could split it. You could find yourself scrambling to pay all your expense …

What exactly are specific solutions to a personal bank loan? Read More »

Sign up for Sunlight Financial Close by inside the Mcallen (TX)

Sign up for Sunlight Financial Close by inside the Mcallen (TX) Cash advance in Mcallen establish brief-label credit, so that you can spend the money for mortgage if you have generated the next earnings. In place of traditional money, payday loans borrowing will not realize tight criteria whenever investigating individuals. When you find yourself based …

Sign up for Sunlight Financial Close by inside the Mcallen (TX) Read More »

DEZA Bewertung 2021

DEZA sein das anerkannte software {für das|für Ihr|das|für|für jeden sein|für alle|Ihre |, wenn es um|es geht um Dating-Website – Swingers Date Club. Durch Installieren des Programms erhalten Sie Sie erhalten sofort zu Swingern und alleinstehenden Paaren die sind BSDM. Möglicherweise es war genau warum das Design und das Navigationsrouting mit der Programm Website sind ein …

DEZA Bewertung 2021 Read More »