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

Sin categoría

If you need even more guidance if you don’t information, don�t hesitate to contact us myself

We’re right here to support you to the fixing this issue and you may promising 777 casino your own satisfaction. Thank you for getting the issues with the focus, and then we hope for a quick top quality towards withdrawal consult. System variety guarantees all member finds online game matching the choice plus large-volatility harbors […]

If you need even more guidance if you don’t information, don�t hesitate to contact us myself Leer más »

Should you decide wished much more guidelines if not guidance, don�t think twice to contact all of us myself

We’re right here to support your into repairing this dilemma and you can promising the satisfaction. Thanks for getting your questions for the attention, and now we a cure for a quick top quality toward detachment consult. System variety assures all of the member discovers games matching the option along with higher-volatility harbors for engaging

Should you decide wished much more guidelines if not guidance, don�t think twice to contact all of us myself Leer más »

Such as for example brief earn game, which is a terrific way to boost your harmony rapidly

Next timely commission gambling enterprise I would highly recommend is Head Cooks. It is a casino one targets providing a pretty easy construction having nothing getting into the right path. Navigating to various regions of the website is truly effortless. There’s also a beneficial �millionaire controls� you could access to after you sign in to

Such as for example brief earn game, which is a terrific way to boost your harmony rapidly Leer más »

The brand new enjoy most improves their genuine-money gaming feel and increases your chances of winning

Get a hold of these totally free incentives within this Winnerz Gambling establishment Sense and you may Event: Feel retains significant weight to the opting for a beneficial dealer’s income. Some one who’ve developed the information over time fundamentally consult most readily useful shell out. Location: Geographical venue takes on a vital role during the

The brand new enjoy most improves their genuine-money gaming feel and increases your chances of winning Leer más »

For many who wanted any more recommendations if not recommendations, do not think twice to make contact with united states me

We have been here to help with you coral official site into the repairing which procedure and you can making certain that brand new pleasure. Thanks for providing its situations with the attention, therefore we assume an easy solution with the withdrawal demand. Program assortment guarantees all user learns game matching the requirements and additionally

For many who wanted any more recommendations if not recommendations, do not think twice to make contact with united states me Leer más »

Eg small winnings online game, which is a great way to improve your balance rapidly

Next punctual commission gambling establishment I’d suggest is actually Captain Chefs. It is a gambling establishment one to focuses on providing you a fairly simple framework having absolutely nothing entering your path. Navigating to several aspects of your website is actually simple. There is a great �millionaire control� as possible access to after you register

Eg small winnings online game, which is a great way to improve your balance rapidly Leer más »

Including small win online game, that’s a powerful way to improve your harmony quickly

Next timely commission local casino I would highly recommend was Chief Chefs. It is a casino one is targeted on providing a pretty easy framework that have little entering your way. Navigating to several aspects of the site is really easy. There is also an excellent �millionaire regulation� that you can the means to access

Including small win online game, that’s a powerful way to improve your harmony quickly Leer más »

This includes immediate earn online game, and is a great way to improve your harmony easily

The second prompt payment gambling enterprise I’d highly recommend is Master Cooks. It�s a casino that concentrates on as long as you a beneficial really simple build with absolutely nothing getting into the right path. Navigating to different elements of the site is truly effortless. Additionally there is a beneficial �millionaire controls� you can supply

This includes immediate earn online game, and is a great way to improve your harmony easily Leer más »

The fresh new allowed bonus advances the real-money playing feel and you may grows your chances of effective

You will find any of these free incentives on Winnerz Casino Feel and you will Experience: Sense retains extreme lbs into going for an excellent dealer’s money. People having created the experience historically fundamentally consult top pay. Location: Geographic area takes on a crucial role during the earnings determination. Dealers approaching gambling enterprises based in

The fresh new allowed bonus advances the real-money playing feel and you may grows your chances of effective Leer más »

For individuals who need any longer recommendations or even information, don’t believe twice to get hold of all of us me personally

We’re right here to support your for the fixing that it topic and you can making sure the newest http://777casinoslots.net/au pleasure. Thank you for providing their issues to your focus, therefore we predict a quick solution to the detachment demand. Platform variety guarantees every player discovers game matching what’s needed along with high-volatility harbors getting

For individuals who need any longer recommendations or even information, don’t believe twice to get hold of all of us me personally Leer más »