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

Sin categoría

Well-known Clips Slots: Pirate’s Luck: An effective swashbuckling thrill online game which have fascinating 100 percent free revolves, wilds, and multipliers

MultiSlot including complies with the strictest area requirements and you can regulations, ensuring that the game meet up with the asked criteria so you’re able to has actually reasonable enjoy From old-fashioned harbors to progressive films slots having cutting-line technicians, the developer’s assortment is largely ranged and you may laden up with prospect off highest […]

Well-known Clips Slots: Pirate’s Luck: An effective swashbuckling thrill online game which have fascinating 100 percent free revolves, wilds, and multipliers Leer más »

Slots is the finest type of gambling establishment game, as a result of the convenience therefore the prospective to possess huge profits

Standing Game Right here, we’ll check out the main form of casino games you will want to predict a lot more than ten web based casinos from inside the the brand new Southern Africa. Modern jackpot slots are extremely appealing, offering the chance to earnings lives-changing amounts of money. Table Online game. In the event

Slots is the finest type of gambling establishment game, as a result of the convenience therefore the prospective to possess huge profits Leer más »

Ports may be the preferred form of gambling enterprise games, because of the simplicity and also the potential for large earnings

Slot Games Here, we are going to look into the main brand of casino games you to you can purchase above 10 online casinos inside the Southern area Africa. Progressive jackpot slots are particularly appealing, offering the possible opportunity to funds life-modifying rates of money. Table Online game. In the event you delight in means

Ports may be the preferred form of gambling enterprise games, because of the simplicity and also the potential for large earnings Leer más »

All of us users can now hit the jackpot from the so you can settle down and you can gamble within the an excellent judge and you will safer sweepstake gambling establishment!

Positives and negatives regarding . The owners out-of Share enjoys many years of experience in the latest online gambling establishment community Chance as they are belonging to better-founded businesses is among the prominent sweepstakes gambling enterprises isn�t readily available in some You says. You to definitely brings me to the termination of our Risk arms

All of us users can now hit the jackpot from the so you can settle down and you can gamble within the an excellent judge and you will safer sweepstake gambling establishment! Leer más »

Harbors may be the preferred variety of gambling establishment video game, considering the simplicity therefore the potential for large profits

Slot Video game Right here, we shall explore a portion of the form of online casino games you to you can aquire over ten online casinos for the South Africa. Progressive jackpot ports are appealing, providing the possibility to profit life-changing data of cash. Table Video game. For those who enjoy method and you may

Harbors may be the preferred variety of gambling establishment video game, considering the simplicity therefore the potential for large profits Leer más »

Harbors is the most widely used form of local casino video game, due to the simplicity together with possibility big profits

Position Video game Here, we’ll delve into area of the form of gambling games that you can buy over 10 online casinos inside the Southern Africa. Progressive jackpot harbors have become enticing, offering the opportunity to cash existence-modifying data of cash. Desk Games. In the event you appreciate approach and feel, table games try the

Harbors is the most widely used form of local casino video game, due to the simplicity together with possibility big profits Leer más »

In this instance, we have around the-referenced lookup with Indeed

Huge On-line casino also provides nearly forty online slots to decide regarding, in addition to Video harbors, progressive jackpots, multi-spins and you will several reel’s and you may bet matter! In addition to word-of-lips, the best way to rating a concept of simply how much real time dealers generate regarding California is to try to

In this instance, we have around the-referenced lookup with Indeed Leer más »

Is actually Play88 one of the better online slots casinos inside the newest Singapore?

Internet casino Enjoy Incentive & Experts Singapore. Play88 invest in itself away which have irresistible has the benefit of, and additionally an excellent 50% greet extra as much as SGD three hundred and also you normally a roster from a number of other bonuses – it is therefore one of the most glamorous gambling enterprises

Is actually Play88 one of the better online slots casinos inside the newest Singapore? Leer más »

Try Play88 one of the better online slots gambling enterprises into the the brand new Singapore?

Internet casino Desired Extra & Professionals Singapore. Play88 invest itself out which have unbeatable now offers, in addition to an effective fifty% anticipate incentive as much as SGD 300 and also you can also be a lineup out-of a great many other incentives – so it is one of the most attractive gambling enterprises to

Try Play88 one of the better online slots gambling enterprises into the the brand new Singapore? Leer más »