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

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

Month: August 2024

Comprehend Pursue and you will PNC Bank feedback and you will ratings at CreditDonkey

Comprehend Pursue and you will PNC Bank feedback and you will ratings at CreditDonkey PNC Automobile financing Studies Pnc mortgage customer care. We need contact info to be sure our very own reviewers try real. BBVA consumer levels, services and products convert to PNC . Container 3429 Pittsburgh, PA 15230-3429 PNC Bank problems are generally …

Comprehend Pursue and you will PNC Bank feedback and you will ratings at CreditDonkey Read More »

An automobile identity loan is a short-label loan that uses your car’s term given that equity

An automobile identity loan is a short-label loan that uses your car’s term given that equity How much money can i obtain? Do i need to however push my car? See significantly more inquiries Zero credit score assessment is necessary, and you can installment often is owed within this 1 month but may feel prolonged …

An automobile identity loan is a short-label loan that uses your car’s term given that equity Read More »

Readers will be comprehend all personal lines of credit data files cautiously

Readers will be comprehend all personal lines of credit data files cautiously Monetary Advisors will receive compensation towards Consideration Line of credit (PCL) and other non-goal SBL out-of Wells Fargo Lender Securities-mainly based financing have special threats that’s not right for folk. If for example the market price regarding a consumer’s pledged bonds declines less …

Readers will be comprehend all personal lines of credit data files cautiously Read More »

The original is the widest possible; it is the whole mass of men to whom S

The original is the widest possible; it is the whole mass of men to whom S If so, God is the END of all things, i PAUL refers. The whole is shut up unto unbelief in order that the whole may find mercy; and as the unbelief is actual and absolute, so, if there be …

The original is the widest possible; it is the whole mass of men to whom S Read More »

Could you Score financing to own a made Home?

Could you Score financing to own a made Home? Owing to , Experian, TransUnion and you will Equifax gives all of the You.S. consumers 100 % free weekly credit history owing to AnnualCreditReport so you can include debt wellness in abrupt and unprecedented difficulty due to COVID-19. In this article: What is actually a produced …

Could you Score financing to own a made Home? Read More »

What Lenders Like to see Out-of Self-Operating Mortgage People

What Lenders Like to see Out-of Self-Operating Mortgage People Declaration off https://paydayloanalabama.com/shiloh/ possessions: Loan providers would also like to see research that you have sufficient money having a down-payment. You will need to submit a listing of your own possessions, together with money in family savings and you will money accounts, once you get a …

What Lenders Like to see Out-of Self-Operating Mortgage People Read More »

Matchmaking laws and regulations: 8 crucial regulations based on how up to now when you look at the 2023

Matchmaking laws and regulations: 8 crucial regulations based on how up to now when you look at the 2023 Dating. Its how you winnings who you (hopefully) spend the rest of your daily life having. Zero stress, correct? In all seriousness, being concern with relationship is actually well normal, particularly if you will be a …

Matchmaking laws and regulations: 8 crucial regulations based on how up to now when you look at the 2023 Read More »

Having an assessment complete, you will have an extremely full list of fixes and you may renovations at hand

Having an assessment complete, you will have an extremely full list of fixes and you may renovations at hand So now you have to understand what it can indeed pricing so you can knock out everything on your own list. It Dated House advises the prospective consumer are unforgiving during that it stage along the …

Having an assessment complete, you will have an extremely full list of fixes and you may renovations at hand Read More »