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

Sin categoría

Red-hot Tamales Free Position Review Enjoy On the web Slot machine games

Embark on a flavorful thrill that have IGT’s Red-hot Tamales Slot, a-game one provides the warmth out-of North american country cuisine to your monitor. That it slot machine takes the new bright tastes off Mexican cooking and you can provides them upwards during the cartoon style, undertaking a great and interesting gaming experience. Prepare in […]

Red-hot Tamales Free Position Review Enjoy On the web Slot machine games Leer más »

Tips Gamble Allow it to Experience Casino poker: An entire Publication

There’s no reason within the to relax and play Allow it to Experience casino poker on line if you don’t know the way the newest profits really works. For folks who’lso are dedicated to and make a lengthy-name earnings, you’ll need to implement an appropriate Allow it to Trip approach. You can begin which have

Tips Gamble Allow it to Experience Casino poker: An entire Publication Leer más »

Tips Enjoy Let it Trip Web based poker: A whole Guide

There’s pointless in the to experience Let it Trip casino poker on the web if your wear’t understand how the new winnings works. For folks who’re https://winspirit.eu.com/sv-se/ingen-insattningsbonus/ intent on and also make a lengthy-label cash, you’ll must use the right Give it time to Experience method. You could start with as low as $step one

Tips Enjoy Let it Trip Web based poker: A whole Guide Leer más »

How exactly to Enjoy Give it time to Drive Web based poker: A complete Guide

There’s no point for the to tackle Allow it to Ride poker on the internet when the your wear’t understand how the newest profits functions. For many who’re also intent on making a lengthy-name finances, you’ll must utilize the right Let it Experience strategy. You can begin which have as low as $step one each

How exactly to Enjoy Give it time to Drive Web based poker: A complete Guide Leer más »

Just how to play Gambling enterprise & Online game Statutes having Videos

Continued shuffling hosts, large sneakers, more regular shuffling, and you can recently shuffled porches for every single on the internet give keeps severely restricted card-counting ventures. “Advantage enjoy” is actually one techniques otherwise method that users may use to reduce otherwise get rid of the family edge. Casinos will possibly keeps unique “triple-down” months, and

Just how to play Gambling enterprise & Online game Statutes having Videos Leer más »

Tips gamble Gambling enterprise & Games Laws and regulations with Video clips

Continued shuffling servers, larger boots, more regular shuffling, and recently shuffled porches for every on the web hands possess honestly restricted card-counting possibilities. “Virtue gamble” was people method or approach one to professionals are able to use to reduce otherwise get rid of the family edge. Gambling enterprises have a tendency to both enjoys special

Tips gamble Gambling enterprise & Games Laws and regulations with Video clips Leer más »

The Gambling establishment Games RTP Database, Audited For each and every User

Because slot RTP informs you this new theoretic come back, online slot volatility (referred to as variance) is the frequency and you can https://winspirit.eu.com/fi-fi/ei-talletusbonusta/ measurements of this new profits you go through during a session. When comparing what is actually a good RTP to possess slots was, it can help to help you classify games

The Gambling establishment Games RTP Database, Audited For each and every User Leer más »