/** * 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(); Sin categoría – Página 337 – Partidas de San Luis

Sin categoría

Understanding ECA Bodybuilding: A Comprehensive Guide

ECA bodybuilding, a popular practice among fitness enthusiasts and competitive bodybuilders, refers to a combination of three components: Ephedrine, Caffeine, and Aspirin. This synergistic blend is often used as a fat-burning supplement to enhance performance and aid in weight loss. ECA has gained attention for its potential to increase metabolic rate, suppress appetite, and improve […]

Understanding ECA Bodybuilding: A Comprehensive Guide Leer más »

Terapija Nakon Kursa za Optimalno Oporavljanje

Terapija nakon kursa, poznata kao PCT (Post Cycle Therapy), predstavlja vitalan korak u procesu oporavka tijela nakon korištenja steroida ili peptida. Ova terapija pomaže u regulaciji hormonalne ravnoteže i osigurava da tijelo ponovo preuzme svoju prirodnu funkciju nakon suprimiranja putem steroidne upotrebe. Zašto je važna Terapija Nakon Kursa? Kada se koriste steroidi ili peptidi, nivo

Terapija Nakon Kursa za Optimalno Oporavljanje Leer más »

The new local casino together with machines a good amount of situations and you may tournaments, attracting players from around

Finish line – Pub and you will lounge providing an excellent 180 training view of the brand new gambling floors Dining table Front – Restaurant discover 24 hours every day. Every hour Daily Epic Jackpots Jackpots 24/seven, one hourly, 1 every day, and you can one before the pot moves $250K! The fresh new newly

The new local casino together with machines a good amount of situations and you may tournaments, attracting players from around Leer más »

An internet casino will only end up being granted a permit when they conform to rigid criteria

And you may an on-line gambling establishment must be authorized from the particular state regulators to perform on the state. While the stated previously, online casinos are only legal in a few states. They has the entire best-rated casinos on the internet to possess Western participants. Certain users may find a few of the a

An internet casino will only end up being granted a permit when they conform to rigid criteria Leer más »

Carrying an effective Curacao Playing license, the fresh new gambling establishment ensures players’ personal and banking info are safer

From our game developers and you will designers to the customer care representatives, for each member of all of us try passionate about the things they’re doing. In addition liked your alive cam service works quickly – agencies usually link within a few minutes and offer clear recommendations to the every concerns. Shazam will bring

Carrying an effective Curacao Playing license, the fresh new gambling establishment ensures players’ personal and banking info are safer Leer más »

Our very own service team is often ready to talk and augment people issues you could potentially come across

Bring the true sensory atmosphere of Bellagio and you will Macau to the living room In addition, our games assortment heavily outshines the average regional web Vegas Hero Casino site, offering modern swimming pools that practical regional networks simply cannot matches. You will find a faithful crew ready to jump during the and assist you

Our very own service team is often ready to talk and augment people issues you could potentially come across Leer más »

Here is a closer look from the chief game categories you can find during the Michigan

We offer multiple different options getting provided Michigan legalized online casinos for the 2019 according to the Lawful Websites Gambling Work, and the earliest registered workers circulated during the early 2021. Since the marketplace is totally subscribed, participants can take advantage of a multitude of gambling games and you can betting solutions with courtroom shelter

Here is a closer look from the chief game categories you can find during the Michigan Leer más »

The minimum deposit number is $10, and you will no less than $20 are expected to own withdrawal

Really purchases try complete within 24 hours, making sure you earn the earnings easily We in addition to permit people who enjoy playing to the pills, Screen or Mac computer notebooks, or other ses. All of our casino software is versatile and easy to make use of, and it also works closely with both the

The minimum deposit number is $10, and you will no less than $20 are expected to own withdrawal Leer más »

Live dealer options are and epic, that have several lobbies readily available 24 hours a day

If you are looking having range, benefits and you will solid rewards, they are the be noticed provides that make Crazy Gambling establishment worthy of considering. Nuts Gambling establishment even offers a wealthy and interesting betting environment built to appeal to a standard spectrum of players. You can check our very own banking page having

Live dealer options are and epic, that have several lobbies readily available 24 hours a day Leer más »

So it large-volatility slot enjoys 6 reels and you will an alternative Party Pays system

Featuring its increase so you can prominence one of personal casinos, a silver Appreciate Casino comment is certainly something to expect so you can…. In america, players have become always the realm of sweepstakes gambling enterprises and you may skill-based games web sites. If you are looking to own a new experience with all the

So it large-volatility slot enjoys 6 reels and you will an alternative Party Pays system Leer más »