/** * 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 60572 – Partidas de San Luis

Sin categoría

Choosing a slot video game that matches the fresh gaming choices are challenging

Extremely Moolah Immortal Romance 9 Bins out-of Silver Finding the best Reputation Games to you Whether you are to experience within this Microgaming in check so you can Quickspin condition web sites, all of us has generated an email list to help you favor and that of those is actually most effective for you. ?Enjoy […]

Choosing a slot video game that matches the fresh gaming choices are challenging Leer más »

Going for a slot online game which fits the brand new playing options are tricky

Very Moolah Immortal Love 9 Bins away from Gold Finding the right Status Online game to you personally Whether you are to tackle inside Microgaming in order so you’re able to Quickspin status web sites, our team has generated a listing so you’re able to like and that ones is simply right for you. ?Take

Going for a slot online game which fits the brand new playing options are tricky Leer más »

After you have receive just how to enjoy online slots games online game it’s about time to determine a famous that

Preferred Online slots Uk Range A few of the app developers such as NetEnt and Microgaming are extremely preferred among almost every other Uk on line harbors online game. United kingdom users and really loves slots of the Playtech, IGT, Barcrest and you may WMS Playing. As the truth is that it is maybe not

After you have receive just how to enjoy online slots games online game it’s about time to determine a famous that Leer más »

5 Extremely important Stories is a decreased-Volatility Cent Slot having Breathtaking Visualize

Most readily useful Slots to play with the Coushatta (Loosest Coushatta Casino Harbors) On this page, I list new seven most useful slots to tackle throughout the Coushatta Local casino Resorts within the 2022. I opinion each and you can discuss where you can see them in the gambling enterprise immediately. Just before we become

5 Extremely important Stories is a decreased-Volatility Cent Slot having Breathtaking Visualize Leer más »

Chumash Casino is largely a complete-attributes Ca local casino providing one another gaming computers and dining table game

Ideal Ports to tackle on Chumash Gambling enterprise (Within the 2026) It is not brain surgery to determine a knowledgeable table video game so you could play, but how would you figure out the best ports therefore you can gamble at the Chumash Gambling establishment? That is what this article is in the. While you

Chumash Casino is largely a complete-attributes Ca local casino providing one another gaming computers and dining table game Leer más »

Keep reading for more information and you can talk about effective status steps created with the higher volatility play

Have you met a fraud website presenting a switch slot strategy to give you tons of money? Cannot assume some thing by doing this in this post. Harbors can’t be outdone ultimately. Although not, there are methods away from playing harbors you could make have fun with out of and come up with yes brand

Keep reading for more information and you can talk about effective status steps created with the higher volatility play Leer más »

Chumash Gambling establishment is the complete-provider Ca gambling enterprise providing each other playing machines and you may dining table games

Best Slot machines to experience on Chumash Gambling enterprise (For the 2026) It�s not too difficult to determine a knowledgeable table game to relax and play, but how can you figure out an educated slots in order to play inside Chumash Casino? That’s what this post is all about. When you are while on the

Chumash Gambling establishment is the complete-provider Ca gambling enterprise providing each other playing machines and you may dining table games Leer más »

Continue reading to find out more and talk about effective condition methods created with the better volatility enjoy

Have you ever fulfilled a fraud web site to present an option position way to leave you a lot of money? You should never anticipate some thing like that on this page. Slots can’t be outdone in the end. But not, there are methods out-of to experience ports you are able to fool around with

Continue reading to find out more and talk about effective condition methods created with the better volatility enjoy Leer más »

Continue reading to learn more and talk about active updates methods made up of the higher volatility gamble

Perhaps you have met a scam webpages to provide a key position way to give you tons of money? Dont anticipate anything by doing this in this post. Harbors cannot be beaten in the long run. Although not, there are methods of to tackle harbors it is possible to make have fun with out-of making

Continue reading to learn more and talk about active updates methods made up of the higher volatility gamble Leer más »

Keep reading to learn more and mention active condition procedures created toward higher volatility gamble

Have you ever discovered a fraud website to provide good key slot way to perform you plenty of cash the palaces app mobiles ? You should never greeting some thing by doing this in this article. Slots can not be defeated sooner or later. Having said that, there are ways from to relax and play

Keep reading to learn more and mention active condition procedures created toward higher volatility gamble Leer más »