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

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

Month: August 2024

Which are the head differences between to purchase property courtesy an enthusiastic estate agent as well as an auction?

Which are the head differences between to purchase property courtesy an enthusiastic estate agent as well as an auction? Display this post with A boom internally speed growth in the past several years keeps added in order to a surge within the public auction conversion, just like the buyers find innovative an approach to save …

Which are the head differences between to purchase property courtesy an enthusiastic estate agent as well as an auction? Read More »

Next Mortgage loans and no Money Verification Fund

Next Mortgage loans and no Money Verification Fund We couple residents which have credit firms that offer stated earnings 2nd mortgage loans and no income confirmation financial and you may bank-declaration loans getting mind-employed and you can salaried individuals wanting cash out lending on the web. Our system is also matches you which have loan …

Next Mortgage loans and no Money Verification Fund Read More »

Which are the Five Common Deductions Some body Wear Its Taxation?

Which are the Five Common Deductions Some body Wear Its Taxation? Medical Expenditures Swinging Expenses Write-offs are stuff you can pay in the season and you can subtract the quantity from your total money peak in terms for you personally to file your own taxes. The major four deductions anyone wear their taxation are detailed …

Which are the Five Common Deductions Some body Wear Its Taxation? Read More »

Advantages & disadvantages out-of PA personal loans

Advantages & disadvantages out-of PA personal loans Finding signature loans inside the Pennsylvania? This informative guide will help you identify specific loan available options, including quick money in PA together with less than perfect credit fund during the PA. Many or every organizations appeared give payment so you can LendEDU. These types of income is …

Advantages & disadvantages out-of PA personal loans Read More »

An alternative choice is an adjustable-rates mortgage, which begins you out-of at the a lowered rate of interest to help you begin with

An alternative choice is an adjustable-rates mortgage, which begins you out-of at the a lowered rate of interest to help you begin with When you get pre-entitled to home financing, you should use establish you are a reputable customer to help you the seller and will help you get noticed for the a good competitive …

An alternative choice is an adjustable-rates mortgage, which begins you out-of at the a lowered rate of interest to help you begin with Read More »

As a swap-off, it raises the newest loan’s interest rate

As a swap-off, it raises the newest loan’s interest rate Lastly, bad issues try rebates paid off because of the lenders in order to borrowers otherwise agents to assist them manage closing costs. Negative situations is subsequent discussed later on the article. Discount Factors to have Fixed-Speed Mortgages One percent of your own amount borrowed …

As a swap-off, it raises the newest loan’s interest rate Read More »

Stated money mortgage loans can not be covered of the CMHC

Stated money mortgage loans can not be covered of the CMHC Limitation LTV/Minimal Down-payment: You might obtain as much as a great 95% loan-to-well worth (LTV) otherwise make an advance payment as low as 5% towards the first $five-hundred,000, and you can ten% towards the sleep. Restrict Loan amount: The cost otherwise worth of the …

Stated money mortgage loans can not be covered of the CMHC Read More »

Professionals and you will Disadvantages out-of an effective USAA Occupation Beginning Mortgage

Professionals and you will Disadvantages out-of an effective USAA Occupation Beginning Mortgage Popis produktu Immediately following https://www.cashadvancecompass.com/installment-loans-nm/san-jose/ discussing how to handle it with the mortgage that have good a good Charles Schwab financial coach and you may better since my dad, I made the decision I would buy $fifteen,one hundred thousand from it into the …

Professionals and you will Disadvantages out-of an effective USAA Occupation Beginning Mortgage Read More »