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

Sin categoría

Gamble 100 percent free Slots On line Zero Obtain or Registration

Eg, Book off Dry also offers https://megarichescasino.uk.com/ 10 100 percent free revolves, whenever you are Mega Moolah includes a progressive jackpot. Casinogamesonnet.com has the benefit of over 7,000 100 percent free slots with no down load no subscription out of 150+ providers for example NetEnt, IGT, and Big time Gambling. Digital dining table games earnings […]

Gamble 100 percent free Slots On line Zero Obtain or Registration Leer más »

Play Free Ports On the internet Zero Download or Membership

Particularly, Publication of Deceased also provides ten free revolves, when you’re Super Moolah comes with a modern jackpot. Casinogamesonnet.com also offers more than 7,100000 100 percent free slots without install and no membership out-of 150+ providers including NetEnt, IGT, and you will Big style Gambling. Electronic dining table video game revenues increased considerably, growing regarding

Play Free Ports On the internet Zero Download or Membership Leer más »

Play 100 percent free Ports On line No Obtain or Subscription

For example, Guide out of Dead also offers ten free spins, lunubet casino online if you find yourself Super Moolah includes a modern jackpot. Casinogamesonnet.com also provides over 7,100 free ports without obtain and no registration regarding 150+ company eg NetEnt, IGT, and you can Big-time Betting. Electronic desk video game income increased drastically, expanding

Play 100 percent free Ports On line No Obtain or Subscription Leer más »

Gamble Free Slots On line No Obtain otherwise Subscription

Such, Publication of Dry offers ten totally free spins, Lucky Days while Mega Moolah includes a modern jackpot. Casinogamesonnet.com now offers more 7,000 100 percent free slots with no down load no subscription of 150+ providers such as for example NetEnt, IGT, and you can Big style Gaming. Electronic dining table online game incomes improved

Gamble Free Slots On line No Obtain otherwise Subscription Leer más »

Play Totally free Ports On the web Zero Install otherwise Subscription

Such as for instance, Book away from Lifeless even offers 10 free revolves, when you’re Mega Moolah comes with a progressive jackpot. Casinogamesonnet.com has the benefit of more 7,000 100 percent free slots with no obtain with no membership of 150+ team particularly NetEnt, IGT, https://luckydayscasino-se.com/sv-se/app/ and you will Big time Gambling. Digital desk games

Play Totally free Ports On the web Zero Install otherwise Subscription Leer más »

Totally free Harbors: Enjoy 9,000+ Free online Position Game Zero Obtain

In order to curate our very own extensive range, we carefully pick greatest app company known for the perfection within the a. Given that effective combos is actually formed, a supplementary reel amplifies the thrill and you may intensifies this new gameplay. It’s instance are invited to help you unravel a treasure breasts or mention

Totally free Harbors: Enjoy 9,000+ Free online Position Game Zero Obtain Leer más »

100 percent free Slots: Enjoy 9,000+ Online Slot Game Zero Install

In order to curate the comprehensive range, i meticulously look for greatest app company recognized for its excellence inside a. As effective combinations is actually designed, an additional reel amplifies this new thrill and you will intensifies brand new game play. It’s such as for instance are greet to help you unravel a gem breasts

100 percent free Slots: Enjoy 9,000+ Online Slot Game Zero Install Leer más »

Totally free Slots: Play 9,000+ Online Position Online game No Down load

So you’re able to curate all of our comprehensive collection, we very carefully select best software organization noted for their excellence for the the. Because successful combos is designed, a supplementary reel amplifies the brand new adventure and you can intensifies the fresh game play. It is for example being allowed to unravel a gem

Totally free Slots: Play 9,000+ Online Position Online game No Down load Leer más »

Free Ports: Gamble 9,000+ Online Slot Online game No Download

To help you curate all of our comprehensive range, i cautiously come across ideal software team known for their brilliance inside the industry. As the successful combinations is designed, a supplementary reel amplifies the newest excitement and you can intensifies new gameplay. It’s such as for example are invited so you can unravel a jewel

Free Ports: Gamble 9,000+ Online Slot Online game No Download Leer más »

100 percent free Harbors: Gamble 9,000+ Online Slot Games No Install

In order to curate the detailed collection, i very carefully look for best software company recognized for their excellence within the the. As the profitable combos was formed, a supplementary reel amplifies the thrill and you can intensifies the brand new game play. It is particularly being allowed to help you unravel a gem bust

100 percent free Harbors: Gamble 9,000+ Online Slot Games No Install Leer más »