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

Sin categoría

One Provides Your business That have Visually Unique & Enthralling Game

Gambling enterprise Online game Development. Have to build your novel gambling enterprise online game? Looking for ready-to-discharge online game otherwise need certainly to release a-game clone? GammaStack gambling enterprise games innovation business is their you to-stop-shop for any local casino games means. Armed with several vegas spins casino official site 100+ developers, i’ve easily circulated […]

One Provides Your business That have Visually Unique & Enthralling Game Leer más »

Which have actions nearly the same as Three card Casino poker, this may getting a special twist with the a familiar online game

Pages take on the newest specialist direct-to-visit make the reduced get you’ll be able to, that have aces situated all together part, handle notes mainly based as 10, and you can designated cards depending due to their pip worthy of. There are also an approach to reduce your rating: kits if you don’t trips amount

Which have actions nearly the same as Three card Casino poker, this may getting a special twist with the a familiar online game Leer más »

That Offers Your business Having Visually Stunning & Enthralling Video game

Gambling establishment Games Advancement. Have to help make your book casino games? Finding in a position-to-release games otherwise have to release a-game clone? GammaStack gambling establishment online game innovation organization is their you to-stop-buy your regional local casino online game needs. Equipped with several one hundred+ builders, i’ve effortlessly circulated a hundred+ graphically cutting-line and

That Offers Your business Having Visually Stunning & Enthralling Video game Leer más »

That Provides Your organization With Aesthetically Astonishing & Enthralling Online game

Gambling establishment Games Invention. Should make your novel gambling enterprise games? Wazbee Dansk bonus Shopping for ready-to-discharge games or even need to release a game clone? GammaStack local casino video game development company is the you to-stop-look for any nearby gambling enterprise games needs. Armed with a small grouping of a hundred+ builders, i have

That Provides Your organization With Aesthetically Astonishing & Enthralling Online game Leer más »

Having steps much like Three-card Web based poker, this can getting an alternate spin for the a common games

Pages compete with the newest broker head-to-lead to make the lowest score you are able to, having aces created total section, handle cards depending because the 10, and you can numbered notes relying due to their pip really value. There are even a way to reduce your get: sets if not travel count as 0,

Having steps much like Three-card Web based poker, this can getting an alternate spin for the a common games Leer más »

Which have pastime similar to Three-card Poker, this will feel several other twist into a familiar on the internet video game

Players take on this new expert head-to-lead to improve reasonable get you can easily, that have aces created full part, face cards depending just like the ten, and you may designated notes relying for their pip extremely worth. There are even a means to reduce Trada Casino your get: set or travel number given that

Which have pastime similar to Three-card Poker, this will feel several other twist into a familiar on the internet video game Leer más »

Having craft just like Three-card Casino poker, this will feel several other spin on a familiar online game

Members take on the fresh new specialist head-to-produce improve reduced score you’ll, which have aces situated full part, deal with cards counting just like the ten, and you will designated notes relying because of their pip really worthy of. There are also an easy way to decrease your get: sets or travel count since 0,

Having craft just like Three-card Casino poker, this will feel several other spin on a familiar online game Leer más »

It doesn’t matter, he or she is an ideal way away from to play ports free-of-charge and trying out the newest casinos that provides MuchBetter

Graphics and you will layouts: Position video game picture are priced between old-fashioned 3-reel turn to progressive, immersive three dimensional construction Along with, they are common. 100 % free spins would be part of a match put greet bonus otherwise a standalone approach. Participants should become aware of gambling enterprise extra fine print. Incentives are

It doesn’t matter, he or she is an ideal way away from to play ports free-of-charge and trying out the newest casinos that provides MuchBetter Leer más »

Enjoy your chosen slots if you don’t desk video game and safe 5x Level Credit

Even today, the organization is the best known for the newest platform shufflers, which might be now used in black-jack, baccarat, casino poker, and a whole lot more games Earn much more after you Check in! Sign-upwards now and secure $10 to the More Totally free Enjoy. Unity Level Match. The newest and you can

Enjoy your chosen slots if you don’t desk video game and safe 5x Level Credit Leer más »

On the internet against Traditional To experience � That is Most effective for you?

Below are a few great things about of-line to try out: Instant cash: Because the everything happens in side anybody, you can purchase your payouts instantly There is certainly smaller all the perform to at least one concern � picking right up the fresh new real time gambling enterprise! They help punters take away the

On the internet against Traditional To experience � That is Most effective for you? Leer más »