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

Sin categoría

For many who desired so much more guidance or advice, don�t think twice to get in touch with you in person

Our company is here to help with their into the fixing this dilemma and you may ensuring that the new satisfaction. Many thanks for bringing their issues to the desire, and now we expect a swift quality to your withdrawal consult. System variety guarantees all professional learns video game coordinating its choice and large-volatility ports […]

For many who desired so much more guidance or advice, don�t think twice to get in touch with you in person Leer más »

There are specific more event to be had which have on the web position video game

Pros and cons in the office since a gambling establishment Dealer. Less than try a listing of the huge benefits and you may disadvantages regarding being a gambling establishment representative. Positives Disadvantages In only six-weeks, you can discover the job. Your own focus on the latest weekends, holidays, along with nights. No degree required. Against

There are specific more event to be had which have on the web position video game Leer más »

There are specific other event that can be had with on line position online game

Advantages and disadvantages at your workplace because a gambling establishment Specialist. Lower than is a list of the royale500 casino online benefits and downsides of becoming a casino representative. Advantages Disadvantages Within just six-weeks, you can study work. The focus on the current vacations, vacations, including nights. No degree is needed. Facing periodically aggressive, drunk,

There are specific other event that can be had with on line position online game Leer más »

Unlike home-oriented casinos, online gurus speak about additional schemes as an easy way out of attracting the professionals

Simultaneously, consider TC very carefully, like in some cases, Gambling enterprise Texas hold em progress are not counted to your wagering requirement otherwise it are, but in the smaller contribution commission That way, the new participants are content given that local casino growth pages. Versus all of the incentive is actually practical when to feel

Unlike home-oriented casinos, online gurus speak about additional schemes as an easy way out of attracting the professionals Leer más »

The newest desired even more boosts the real-money gambling end up being and you will grows your odds of winning

You’ll find such 100 % totally free bonuses throughout the Winnerz Gambling establishment Become and you may Skills: Experience holds extreme weight toward going for a good dealer’s money. Traders with honed the brand new take pleasure in through the years essentially demand most useful spend. Location: Geographical urban area plays a crucial role inside

The newest desired even more boosts the real-money gambling end up being and you will grows your odds of winning Leer más »

The fresh need additional boosts the real-money playing feel and grows your odds of successful

You’ll find such one hundred % totally free bonuses about Winnerz Gambling establishment Become and you can Enjoy: Sense keeps extreme weight into the opting for good dealer’s earnings. Buyers that have developed the fresh new delight in over the years fundamentally demand most useful purchase. Location: Geographical city performs a vital role from inside

The fresh need additional boosts the real-money playing feel and grows your odds of successful Leer más »

The new wanted even more enhances the genuine-money betting feel and you can develops your odds of profitable

Discover these a hundred % free bonuses regarding the Winnerz Local casino Become and you can Enjoy: Experience keeps extreme pounds to your opting for a beneficial dealer’s earnings. Traders which have developed the fresh new delight in over the years fundamentally consult top spend. Location: Geographic city takes on a crucial role inside money

The new wanted even more enhances the genuine-money betting feel and you can develops your odds of profitable Leer más »

Whilst not regularly gambling establishment to play, otherwise new to the very thought of in control playing, stress maybe not

This is exactly probably one of the most common notes toward the planet, however, earlier ‘poker face’ any alternative function are there for your requirements to conquer the Understand local casino playing requirements, the various patterns, what you should select, ideas on how to assess him or her and important matters to embrace. Listed below

Whilst not regularly gambling establishment to play, otherwise new to the very thought of in control playing, stress maybe not Leer más »

Weighed against home-based casinos, online team fool around with more systems just like the an excellent means of attracting the fresh participants

At the same time, glance at TC meticulously, as with some instances, Local casino Texas hold’em wins aren’t measured to the betting requires otherwise it’s, but from the shorter share commission This way, each other folks are blogs as well as the gambling establishment development some body. Versus all of the additional is actually standard

Weighed against home-based casinos, online team fool around with more systems just like the an excellent means of attracting the fresh participants Leer más »

Compared with homes-centered gambling enterprises, on line organization fool around with a lot more assistance given that good ways away from attracting new people

On top of that, consider TC cautiously, like with some instances, Gambling enterprise Hold’em wins commonly counted on the betting requires or it’s, however, on faster share percentage In that way, both everyone is stuff and also the gambling enterprise development people. Rather than most of the additional try fundamental incase to experience Regional gambling

Compared with homes-centered gambling enterprises, on line organization fool around with a lot more assistance given that good ways away from attracting new people Leer más »