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

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

Month: July 2024

No Bank account Called for Payday loans online Standards

No Bank account Called for Payday loans online Standards Zero Savings account Necessary Cash advance Online. Perhaps you have observed dollars financing instead of bank account demands? No Bank account Necessary Cash advance On the web. Perhaps you have noticed cash money as opposed to family savings requires? However this is regarding the instantaneous educational …

No Bank account Called for Payday loans online Standards Read More »

Sofi (SOFI) is wanting so you’re able to reposition itself since the an internet bank

Sofi (SOFI) is wanting so you’re able to reposition itself since the an internet bank Threats back at my resource thesis Ally might be compelled to enhance their deposit rates of interest significantly more quickly than simply We desired. Pundits generally expect you to definitely financial institutions won’t be forced to improve rates on their …

Sofi (SOFI) is wanting so you’re able to reposition itself since the an internet bank Read More »

Applications for the Team Increase Mortgage have closed

Applications for the Team Increase Mortgage have closed Charges fees Zero focus was payable towards the longevity of the loan. Rather, you will end up recharged an establishment Payment one particular fee based towards the amount you ask to have into the the loan software. step one The price might be energized up-front side from …

Applications for the Team Increase Mortgage have closed Read More »

To be A kansas Very first time Household Customer

To be A kansas Very first time Household Customer The brand new Ohio Casing Fund Company (OHFA) provides reasonable 30-seasons repaired-price funds, discount mortgage rates, and you can good-sized advance payment advice. The fresh The choice! Downpayment Guidance program normally give either you 2.5% or 5% of your house’s well worth to get towards your …

To be A kansas Very first time Household Customer Read More »

Make the absolute most of one’s love life: find your perfect match among craigslist ny men seeking men

Make the absolute most of one’s love life: find your perfect match among craigslist ny men seeking men Craigslist is a fantastic resource for finding a romantic date or a relationship. it can be some daunting, though, to attempt to navigate through all the articles. here are a few tips to maximize your love life: …

Make the absolute most of one’s love life: find your perfect match among craigslist ny men seeking men Read More »

3. How much time do you stay static in our home?

3. How much time do you stay static in our home? A survey by webpages Borrowing Sesame discovered that the new average number of years the typical Western lives in a property enjoys enhanced off half dozen to nine age as houses drama What’s the most recent speed, and you will what is the directory? …

3. How much time do you stay static in our home? Read More »

Mortgage brokers to have unmarried mom: Financing software and you may assistance

Mortgage brokers to have unmarried mom: Financing software and you may assistance Have there been home loans having solitary mothers? If you find yourself indeed there commonly specific solitary mother or father mortgage brokers, there are lots of financial applications that may meet the needs from solitary parents. This type of financing may help you …

Mortgage brokers to have unmarried mom: Financing software and you may assistance Read More »