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

Sin categoría

Try to find a code idea over the commission possibilities for many who make use of the cashier a great deal

The latest website is a bit hectic as it has a full game lobby, and an alternating advertisements post flag and a great scrolling set of present larger winners. The fresh new Kaiser Ports cellular application get regular standing to enhance show and shelter, making sure a silky betting experience having pages. In order to […]

Try to find a code idea over the commission possibilities for many who make use of the cashier a great deal Leer más »

One another operators render an easy, seamless, friendly user experience near to greater online game access

For people who join ideal gambling enterprise, the new promotional deal fits your entire demands! Gambling is actually a legal, registered and you can controlled community regarding the British, with a lot of choices for punters so you can enjoy properly and you can safely. Although it does enjoys the constraints, we delight in their

One another operators render an easy, seamless, friendly user experience near to greater online game access Leer más »

Get into your own phone number, would a password and choose the first percentage method

Commission handling is actually immediate and detachment moments try punctual. Answers are head and you may troubles are repaired rapidly. Your balance, background and you can options sync all over cellular phone, pill and you will desktop computer. Large clusters pay over faster ones, while the Wonderful Tiki symbol supplies the ideal efficiency once you

Get into your own phone number, would a password and choose the first percentage method Leer más »

It strain online game that will be entitled to people energetic bonus wagering requirements

You might contact the newest Local casino support group any time regarding big date or evening 24/eight thru live chat or through current email address. We such discovered the brand new mobile fee alternative using MuchBetter is a sweet inclusion to have depositing people playing with iphone or other handsets. When we had a look

It strain online game that will be entitled to people energetic bonus wagering requirements Leer más »

Minimal put count expected to discover a respect extra is actually 50�/$/?

When you’re being unsure of just what belongs during the an assessment, grab a fast view our Posting Advice prior to distribution. The new Professional Get you notice is our very own main get, based on the key quality indicators one to a reliable online casino is meet. The minimum deposit is ?20, however for

Minimal put count expected to discover a respect extra is actually 50�/$/? Leer más »

Cellular gaming is very popular lately because of their benefits and you will accessibility

These make sure every headings provide higher-quality picture and you will smooth possibilities. Concurrently, particular ongoing campaigns that is available at best on the internet slots web sites is actually VIP perks, refer-a-buddy apps, and free revolves. Added bonus provides particularly totally free spins or multipliers is somewhat raise their payouts and you will create

Cellular gaming is very popular lately because of their benefits and you will accessibility Leer más »

On top of the fact that on the internet crypto position gambling enterprises try discover 24/seven and you can accessible worldwide

Whenever to tackle casino games the real deal money, it’s important to usually enjoy sensibly We have been right here to inform your it is extremely easy to put crypto and gamble A few Katanaspin online casino of the benefits users will enjoy whenever to experience crypto slots were however they are not limited to.

On top of the fact that on the internet crypto position gambling enterprises try discover 24/seven and you can accessible worldwide Leer más »