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

Sin categoría

Best On-line casino Philippines 2024 Real money mustang money slot rtp Game

Blogs Very Harbors Casino – mustang money slot rtp Things to See When searching for The big Ten Online Casinos At the same time, for dining table gamers, headings including Unlimited Blackjack and you can Lightning Roulette from the Advancement are typically sensed the very best. QueenSpins Gambling enterprise also offers an appealing deal from […]

Best On-line casino Philippines 2024 Real money mustang money slot rtp Game Leer más »

Spend slot Panther Moon from the Cellular Casinos The new Gambling enterprises Recognizing Cellular phone Percentage

Articles Slot Panther Moon – Sports betting Greatest MuchBetter Casinos in the uk BetMGM is one of the finest the new casinos for Uk professionals, featuring tonnes out of personal ports and you may a really real dining table online game experience. The biggest cellular percentage experience Apple Spend, making it easy to own ios

Spend slot Panther Moon from the Cellular Casinos The new Gambling enterprises Recognizing Cellular phone Percentage Leer más »

Shell out By Cell phone Local casino Best Pay By Mobile cobber casino slots bonus Local casino

Posts Cobber casino slots bonus – Pay By Cell phone Online casinos & Cellular telephone Bill Cellular Ports Put During your Mobile The best Shell out From the Cell phone casinos will give a variety of campaigns such as acceptance incentives, free spins, no-put incentives, support applications, and. This type of bonuses can be lengthen

Shell out By Cell phone Local casino Best Pay By Mobile cobber casino slots bonus Local casino Leer más »

Better Online casino Philippines casino online paysafecard 2024 A real income Video game

Posts Casino online paysafecard: Awesome Harbors Local casino What you should See When shopping for The big Ten On line Gambling enterprises At the same time, to possess table avid gamers, titles such as Infinite Black-jack and you can Super Roulette because of the Progression are typically felt among the better. QueenSpins Gambling establishment offers

Better Online casino Philippines casino online paysafecard 2024 A real income Video game Leer más »

Finest On-line casino Philippines exchmarket registration bonus 2024 A real income Games

Articles Exchmarket registration bonus | Extremely Harbors Gambling enterprise What you should Come across When searching for The top 10 Online Casinos At the same time, to own desk gamers, headings for example Infinite exchmarket registration bonus Blackjack and you will Lightning Roulette because of the Evolution are typically felt among the better. QueenSpins Gambling

Finest On-line casino Philippines exchmarket registration bonus 2024 A real income Games Leer más »

Greatest Online casino bombastic casino login app download Philippines 2024 Real cash Game

Blogs Super Slots Casino: bombastic casino login app download What things to Discover While looking for The top Ten Online Casinos Meanwhile, to own dining table gamers, titles for example Unlimited Black-jack and you may Super Roulette by Progression are generally experienced among the better. QueenSpins Local casino also provides a stylish bargain away from

Greatest Online casino bombastic casino login app download Philippines 2024 Real cash Game Leer más »

Best real online slots for real money United states Shell out By Cell phone Casinos 2024

Posts Pay because of the Cellular Running Minutes and you may Costs: real online slots for real money SlotoNights The problem is you can tend to only withdraw having a technique you’ve used to help you deposit. When you’ve just ever placed via cellular telephone at the a gambling establishment then the gambling enterprise will

Best real online slots for real money United states Shell out By Cell phone Casinos 2024 Leer más »

Best win real money pokies australia Online casino Philippines 2024 Real money Games

Content Win real money pokies australia – Extremely Slots Casino Things to See When looking for The big Ten Online Casinos At the same time, to win real money pokies australia possess dining table game enthusiasts, headings for example Infinite Black-jack and you will Super Roulette because of the Evolution are typically experienced the best.

Best win real money pokies australia Online casino Philippines 2024 Real money Games Leer más »

Greatest Online casino Philippines crystal ball online slot 2024 Real cash Game

Articles Very Harbors Local casino – crystal ball online slot What things to See While looking for The major 10 On the internet Gambling enterprises Meanwhile, to possess dining table avid gamers, headings such Infinite Blackjack and crystal ball online slot Lightning Roulette by the Advancement are typically sensed the best. QueenSpins Casino also offers

Greatest Online casino Philippines crystal ball online slot 2024 Real cash Game Leer más »

Better Online casino Philippines 2024 Real money Online mermaids millions $1 deposit game

Blogs Mermaids millions $1 deposit – Awesome Slots Local casino What things to Discover While looking for The major 10 On the internet Casinos At the same time, for desk avid gamers, titles including Unlimited Blackjack and Lightning Roulette by Progression are usually experienced some of the best. mermaids millions $1 deposit QueenSpins Gambling enterprise

Better Online casino Philippines 2024 Real money Online mermaids millions $1 deposit game Leer más »