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

Sin categoría

Are Play88 one of the recommended online slots games casinos inside the newest Singapore?

On-line casino Allowed Bonus & Rewards Singapore. Play88 kits itself out which have irresistible contains the benefit of, and an effective 50% greet added bonus of up to SGD 3 hundred and you will a lineup out-of a great many other bonuses – therefore it is perhaps one of the most attractive web based casinos […]

Are Play88 one of the recommended online slots games casinos inside the newest Singapore? Leer más »

Try Play88 among the best online slots casinos contained in this this new Singapore?

On-line casino Allowed Bonus & Perks Singapore. Play88 kits itself away with irresistible has got the benefit of, plus a beneficial 50% acceptance extra of up to SGD 3 hundred and a roster of a number of other incentives – therefore it is probably one of the most glamorous online casinos in the Singapore. Making

Try Play88 among the best online slots casinos contained in this this new Singapore? Leer más »

Well-known Video Harbors: Pirate’s Options: A great swashbuckling adventure video game that have pleasing 100 % totally free spins, wilds, and you will multipliers

MultiSlot together with complies to your strictest globe requirements and you may rules, making sure all of the games meet with the needed conditions to have sensible enjoy Out-of dated-fashioned slot machines in order to progressive videos slots you to definitely has actually cutting-line aspects, this new developer’s diversity are diverse and you will laden

Well-known Video Harbors: Pirate’s Options: A great swashbuckling adventure video game that have pleasing 100 % totally free spins, wilds, and you will multipliers Leer más »

It must be the initial and simply day you may features registered into the to tackle associate

Free Bucks. For folks who hit all over a no-deposit on-line casino NZ promote from a hundred % free dollars, you can aquire just that they. Free a real income to try out with more numerous 100 percent free no-deposit video game. a hundred % totally free Spins. In the event that you put eyes

It must be the initial and simply day you may features registered into the to tackle associate Leer más »

United states people are now able to smack the jackpot regarding the to experience on an effective judge while is also safer sweepstake gambling enterprise!

Pros and cons out-of . Proprietors from Stake possess years of knowledge of the latest net casino community Show consequently they are owned by better-centered companies is amongst Coin Strike Hold and Win the biggest sweepstakes gambling enterprises isn’t available in several Us claims. One to provides me to the conclusion the Stake possession book.

United states people are now able to smack the jackpot regarding the to experience on an effective judge while is also safer sweepstake gambling enterprise! Leer más »

It should be the original and only date it is possible to has actually joined toward to play representative

100 percent free Bucks. For individuals who struck around the a no deposit on-line casino NZ give away from one hundred % 100 percent free dollars, you can aquire just that it. Free real cash to try out along with more many free zero-deposit video game. one hundred % free Revolves. If you lay eyes

It should be the original and only date it is possible to has actually joined toward to play representative Leer más »

Us professionals can now smack the jackpot on to tackle on an excellent courtroom and also you is safer sweepstake local casino!

Pros and cons regarding . People out of Stake features many years of knowledge of the newest internet local casino industry Share as they are owned by really-built companies is amongst the most significant sweepstakes gambling enterprises is not offered in a few United states says. One to brings me to the conclusion the Share

Us professionals can now smack the jackpot on to tackle on an excellent courtroom and also you is safer sweepstake local casino! Leer más »

Us players can now strike the jackpot in the playing in the an excellent judge and you also normally secure sweepstake gambling enterprise!

Positives and negatives from . Proprietors out of Share features numerous years of experience with this new web gambling enterprise community Express and are usually owned by well-dependent businesses is just one of the greatest sweepstakes casinos is not offered in a number of United states states. You to definitely brings us to the conclusion

Us players can now strike the jackpot in the playing in the an excellent judge and you also normally secure sweepstake gambling enterprise! Leer más »

It ought to be the initial and just big date you can has joined into the to relax and play representative

Free Cash. For people who hit across a no-deposit internet casino NZ give regarding a hundred % 100 percent free cash, you can get exactly that it. 100 percent free a real income playing with all of more than a great amount of 100 percent free no-put game. a hundred % 100 percent free Spins.

It ought to be the initial and just big date you can has joined into the to relax and play representative Leer más »

It should be the first and just go out you could provides inserted towards the to experience affiliate

Totally free Bucks. For people who hit across a no-deposit online casino NZ bring from a hundred % totally free dollars, you can aquire exactly that they. Totally free real money playing with over many totally free no-deposit video game. Starburst XXXtreme a hundred % free Revolves. Any time you put attention till the internet

It should be the first and just go out you could provides inserted towards the to experience affiliate Leer más »