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

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

bettilt

bahsegel

paribahis

bahsegel

Month: July 2024

FHA 203k Mortgage in the Indian Lake State, Florida

FHA 203k Mortgage in the Indian Lake State, Florida The newest FHA 203k loan is a superb choice for homeowners with less than perfect credit or reduced revenues. The applying assists those consumers funds the programs through providing a keen FHA 203k mortgage which enables these to rating a mortgage towards a property that really …

FHA 203k Mortgage in the Indian Lake State, Florida Read More »

Too often, We find mothers and college students who’ve presumed you to definitely monetary aid (no fund) covers that which you

Too often, We find mothers and college students who’ve presumed you to definitely monetary aid (no fund) covers that which you Advocates are assured after that money about government Pell Grant program can assist counterbalance the significance of reasonable-income group to bridge the brand new pit when it comes to getting able to afford pricey …

Too often, We find mothers and college students who’ve presumed you to definitely monetary aid (no fund) covers that which you Read More »

Get financing with these registered credit lover, MIA PLC On line

Get financing with these registered credit lover, MIA PLC On line It quantity in order to $386 inside the attract costs along the duration of the mortgage (1 Financing proportions away from $ten0-$10,100 to possess step 3-3 years Collateralized loans with an intention rates as little as step 1.3% four weeks and you may that …

Get financing with these registered credit lover, MIA PLC On line Read More »

A hard money financing is actually a secured item-centered mortgage

A hard money financing is actually a secured item-centered mortgage Advantages And you may Disadvantages Away from Hard Money Finance A lender might only make you a max out-of 80 percent of your LTV proportion, for example you will have to put together the remaining 20 percent oneself. Most other tough currency loan providers get …

A hard money financing is actually a secured item-centered mortgage Read More »

Benefits associated with Playing with a private Bank More than a financial

Benefits associated with Playing with a private Bank More than a financial If you’re to get a home, brand new documentation processes shall be confusing, intimidating, and seemingly instead prevent. For most people, possessing your own home continues to be the fresh American dream, but it’s increasingly tricky and difficult locate acceptance to your an …

Benefits associated with Playing with a private Bank More than a financial Read More »

Lender out of Tx – Direct Lender inside the Grand Junction (CO)

Lender out of Tx – Direct Lender inside the Grand Junction (CO) Pay day loan Cash advance Personal loans was money that you can use to have debt consolidation reduction, emergency costs, purchases, and. The newest loans are generally paid inside installments during a specified period. One which just is actually accepted having an unsecured …

Lender out of Tx – Direct Lender inside the Grand Junction (CO) Read More »

How to get a corporate Loan having a less than perfect credit Get

How to get a corporate Loan having a less than perfect credit Get Trick Get-outs: Your credit rating is determine what you can do locate a corporate loan, of numerous lenders do not take on something less than five hundred however Bizcap we have assisted customers which have a credit score around one hundred You …

How to get a corporate Loan having a less than perfect credit Get Read More »

They doesnt hurt to have a loved one test it

They doesnt hurt to have a loved one test it this is not chill, best possible way you can get cash is in the event you a good examine alternative. the fresh new electronic bank card is for instructions and also for those who consult a plastic card, it does not work on the newest …

They doesnt hurt to have a loved one test it Read More »

Парі-матч Офіційний Сайт Грай і перемагай

Parimatch – ставки на спорт онлайн з додатковими бонусами Слов Рев’ю БК Паріматч Букмекерська компанія Parimatch в Україні – лінія ставок, розпис і коефіцієнти Реєстраційна процедура в казино Паріматч в Україні Мінімальна і максимальна сума для ставки в Parimatch Маржинальність Варіанти розваг для гравців у букмекерській компанії Parimatch Кабінет користувача і його функціонал Кращі БК …

Парі-матч Офіційний Сайт Грай і перемагай Read More »