/** * Transparent Header - Customizer. * * @package Astra * @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 object 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; /** * Old option for 404, search and archive pages. * * For default value on separate option this setting is in use. */ $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'] = ''; $defaults['transparent-header-logo-color'] = ''; /** * Transparent Header Responsive Colors */ $defaults['transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['hba-transparent-header-bg-color-responsive'] = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); $defaults['hbb-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(), 'transparent_header_devices' => astra_get_option( 'transparent-header-on-devices' ), ) ); } } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Ext_Transparent_Header_Loader::get_instance(); xtw18387544d – Página 12540 – Partidas de San Luis

xtw18387544d

Αγορά Αναβολικών Στεροειδών: Όσα Πρέπει να Ξέρετε

Η αγορά αναβολικών στεροειδών είναι ένα θέμα που απασχολεί πολλούς αθλητές και άτομα που επιθυμούν να βελτιώσουν τη σωματική τους κατάσταση. Η επιθυμία για ταχεία αύξηση της μυϊκής μάζας και της δύναμης οδηγεί πολλές φορές στη χρήση αυτών των ουσιών, που όμως έχουν και τους κινδύνους τους. Θέλετε να λάβετε περισσότερες πληροφορίες για νόμιμα στεροειδή; […]

Αγορά Αναβολικών Στεροειδών: Όσα Πρέπει να Ξέρετε Leer más »

Las jugadores religiosos podran conseguir 25 o bien 50 tiradas sobre promociones semanales o en la barra festivas

Comienza especie sobre tu cuenta y no ha transpirado realiza un deposito empleando las metodos sobre pago que hay en el comercio Algunos de los bonos falto deposito sobra completos y escalonados de el mercado Las recientes personas de Shazam Casino podrian percibir una medio desprovisto pagar dinero. Todos estos incentivos son un modo cierto

Las jugadores religiosos podran conseguir 25 o bien 50 tiradas sobre promociones semanales o en la barra festivas Leer más »

Better Internet casino beach life online pokie Bonuses To own 2024

Posts Beach life online pokie | Play’n Go Should i Claim Free Spins That have A 300% Added bonus? Added bonus Password: Mtd7pwkkkg8 Tips Claim three hundred Bonus An educated gambling establishment indication-upwards selling have different forms, such as free revolves, a zero-deposit added bonus, otherwise a casino matches-deposit incentive. Online casino greeting incentives are

Better Internet casino beach life online pokie Bonuses To own 2024 Leer más »

100 percent free Bingo The real deal advantageous link Money ️ $25 No deposit Added bonus

Posts Advantageous link – Exactly what Casino Has got the Large No-deposit Extra? Let’s say We Hit the Jackpot To the A no-deposit Bonus? Where Must i See No-deposit Incentives? Ways to get Solution Free Spins A few of the elements we see are the volatility, the newest come back to user fee, bonus have

100 percent free Bingo The real deal advantageous link Money ️ $25 No deposit Added bonus Leer más »

Greatest A real income Casinos on the internet To play Inside 5 reel drive $1 deposit the 2024

Content 5 reel drive $1 deposit: Just what Greatest New jersey Web based casinos Offer you What Percentage Procedures Can you use When Stating A no deposit Added bonus? Eligible Online game Which Gambling establishment Have Immediate Withdrawal With no Verification? You need to use an excellent debit credit or bank card to help you

Greatest A real income Casinos on the internet To play Inside 5 reel drive $1 deposit the 2024 Leer más »

$10 Lowest Deposit Gambling enterprises odds of winning Iron Man Australian continent

Blogs Odds of winning Iron Man: Disclaimer Playing Habits Exactly how we Find Lowest $10 Put Casino Australian continent Exactly why are 5 Buck Put Gambling enterprises Really worth Seeking to? Finest Percentage Strategies for ten Dollar Deposit On-line casino Internet sites These sites deliver the current releases, high-limits modern jackpots, and you can genuine-date

$10 Lowest Deposit Gambling enterprises odds of winning Iron Man Australian continent Leer más »

Better Cellular Gambling enterprises 2024 And you may Uk Better Local cats play casino Software To own Cellular telephone Position Participants

Posts Does it have Any Cellular Provides? – cats play Do I must Be A person To find An excellent No deposit Extra? As to the reasons Play with Neteller From the Online casinos? Portable Casino games Put & Allege Your $2,500 Casino Added bonus What is the Finest Gambling enterprise Software For New iphone?

Better Cellular Gambling enterprises 2024 And you may Uk Better Local cats play casino Software To own Cellular telephone Position Participants Leer más »