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

Sin categoría

Create casinos on the internet getting Cyprus possess Greek names?

Never assume all casinos on the internet that give its has actually inside Cyprus service Greek types of the possibilities as well as have Customers Enjoys into the Greek, although some would. We have listed the best casinos with Greek types in to the book more than. What web based casinos bring brief distributions? The […]

Create casinos on the internet getting Cyprus possess Greek names? Leer más »

Twist chosen online slots, gather XP and you will rise in the latest ranking � all-purpose procedures the closer to personal honours

In addition to this, and as part of the desired promote, at the same time, you’ll found ten daily revolves on one of one’s finest internet casino a real income harbors, with a predetermined jackpot of 1 mil � eg revolves often stimulate oneself basic put. Most other tricks after you play gambling establishment online

Twist chosen online slots, gather XP and you will rise in the latest ranking � all-purpose procedures the closer to personal honours Leer más »

Can i profit a real income playing with United states online casino no-deposit incentives?

Top No-put Internet casino Bonuses in america. An in-breadth help guide to seeking online gambling enterprise money on managed United states casinos. Records Latest: . 100 % free Incentive. Most useful No-deposit. Top-peak totally free provide. Explore Password: POKERFUSE. Large 100 percent free render. Quality no-deposit. Use Code: POKERFUSE. Title 1-800- Casino player . Need

Can i profit a real income playing with United states online casino no-deposit incentives? Leer más »

To play alive on line black-jack video game for free, you ought to explore a bona-fide currency black colored-jack membership

Once the 100 % totally free black colored-jack will not subscribe the fresh casino’s loans, it’s difficult so that they can allow you to be involved in live games If you’re looking to make a profitable admission towards job of on line blackjack to tackle, how to begin is by using a speech. The online

To play alive on line black-jack video game for free, you ought to explore a bona-fide currency black colored-jack membership Leer más »

Playing alive on the web black-jack game free-of-charge, you ought to explore a beneficial bona-fide currency black colored-jack account

While the a hundred % totally free black-jack will not signup the brand new casino’s finance, it’s hard so that they can allow you to take part in alive games If you’re looking and come up with a profitable admission to your industry regarding on line blackjack playing, how you can start has been a

Playing alive on the web black-jack game free-of-charge, you ought to explore a beneficial bona-fide currency black colored-jack account Leer más »

To relax and play live online blackjack game at no cost, you truly need to have enjoyable with a real currency black-jack subscription

Since the 100 % free black-jack cannot sign up to the brand new casino’s money, it’s difficult so that they can let you participate in alive game If you are looking to make a profitable entry in order to your own world of on the web black-jack to relax and play, how to initiate is

To relax and play live online blackjack game at no cost, you truly need to have enjoyable with a real currency black-jack subscription Leer más »

Can i winnings a real income having fun with United states online gambling enterprise zero-put incentives?

Greatest No-put On-line casino Incentives in the us. A call at-breadth help guide to looking to free online gambling enterprise money within controlled You casinos. Earlier in the day Newest: . Totally free Extra. Most useful Zero-deposit. Top-level totally free give. Have fun with Code: POKERFUSE. Highest totally free offer. High quality no deposit. Play

Can i winnings a real income having fun with United states online gambling enterprise zero-put incentives? Leer más »

Should i winnings a real income playing with United states on-line casino no-put bonuses?

Finest No-put On-line casino Incentives in the us. A call at-breadth help guide to trying to find free online gambling establishment currency at managed You casinos. Background Most recent: . a hundred % totally free Bonus. Better No deposit. Top-peak 100 percent free provide. Play with Code: POKERFUSE. High 100 percent free give. Quality no

Should i winnings a real income playing with United states on-line casino no-put bonuses? Leer más »