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

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

Month: June 2024

Submit an application for Osla College loans 2022 for the Us (You.S.) Get a hold of Position

Submit an application for Osla College loans 2022 for the Us (You.S.) Get a hold of Position OSLA Figuratively speaking is among the lesser government mortgage characteristics around. This new Oklahoma Education loan Expert, otherwise OSLA, are an effective nonprofit business, established in the entire year 1972 by county away from Oklahoma, and sustains itself …

Submit an application for Osla College loans 2022 for the Us (You.S.) Get a hold of Position Read More »

six Ideas to Save yourself Utilising the Most popular Dinner Beginning Applications

six Ideas to Save yourself Utilising the Most popular Dinner Beginning Applications Will you be struggling to shell out your bills on account of an economic disaster? Don’t be concerned, you are not alone. Research has shown you to definitely in the ?thirty six per cent? away from People in america usually do not manage …

six Ideas to Save yourself Utilising the Most popular Dinner Beginning Applications Read More »

Note: Into the total amount one to PPP mortgage forgiveness was addressed while the terrible invoices, the rules from Rev

Note: Into the total amount one to PPP mortgage forgiveness was addressed while the terrible invoices, the rules from Rev The newest Irs in addition to granted Rev A week ago, new Irs published recommendations on several pieces of attention to many income tax practitioners and you will members. That item concerned explanation to your …

Note: Into the total amount one to PPP mortgage forgiveness was addressed while the terrible invoices, the rules from Rev Read More »

Confira 6 Dicas Para Alcançar Dinheiro Uma vez que Poker Online

Content Múltiplas Mesas Abicar Poker: Como Podem Aparvalhado O Auxése Puerilidade Novos Jogadores É Possível Abiscoitar Muito Bagarote Com Arruíi Melhor Acabamento De Poker Online? Jogos Online Cassino Spins Gratis Pt 2023 Afamado que “pocket rockets”, ou “bicudos” no Brasil, barulho lugarejo puerilidade ases é anexar avantajado achega inaugural que você pode receber. Tá, uma …

Confira 6 Dicas Para Alcançar Dinheiro Uma vez que Poker Online Read More »

Report on the very best internet dating sites in which guys finding ladies

Lots of men and females have actually fantastic success on real hookup websites that really work because they have a number of options to select from. Guys can see profiles while getting women for rapid flings and other adult fun. Whenever you look at the benefits associated with a grown-up dating hookup, could 1st observe …

Report on the very best internet dating sites in which guys finding ladies Read More »

Guarantor Unsecured loans All you need to Know

Guarantor Unsecured loans All you need to Know When you find yourself incapable of rating an unsecured loan perhaps on account of a low-income otherwise a woeful credit history a guarantor loan can also be open the door so you can borrowing from the bank because requires the financial support from a friend or cherished …

Guarantor Unsecured loans All you need to Know Read More »

Episodes you to definitely matter up against their maximum qualification period

Episodes you to definitely matter up against their maximum qualification period There is certainly a limit towards limit time frame (counted in educational age) as you are able to receive Direct Sponsored Loans. In general, you will possibly not receive Head Sponsored Finance for over 150% of one’s wrote amount of the program. This will …

Episodes you to definitely matter up against their maximum qualification period Read More »

Changeable rates mortgages – What you need to understand

Changeable rates mortgages – What you need to understand Adjustable-price mortgage loans (Good.R.Yards.s) were from like for a time, but can be on the fresh brink of fabricating a reappearance. Which have mortgage cost relatively positioned to help you fundamentally start swinging up again, the possibility coupons offered by Case cost you can expect to …

Changeable rates mortgages – What you need to understand Read More »

Get the best No Credit assessment Assets Funds Loan providers

Get the best No Credit assessment Assets Funds Loan providers Step one: Find the correct Financial Finding the best bank ‘s the first step toward securing the brand new loan. HomeAbroad can be community your with many knowledgeable and legitimate loan providers you to definitely can present you with zero credit assessment money spent money. …

Get the best No Credit assessment Assets Funds Loan providers Read More »