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

Sin categoría

Top & Separate Us Online casino Reviews jammin jars $1 deposit 2024

Articles Finest Gambling enterprise Internet sites to own Blackjack | jammin jars $1 deposit What is the greatest harbors agent in the top 10 gambling establishment United kingdom internet sites? You might benefit from the Xtra Reel Power ability to subsequent tailor their bets and you will potential prizes. Super-prompt PayPal distributions, always canned in […]

Top & Separate Us Online casino Reviews jammin jars $1 deposit 2024 Leer más »

Real cash Online casinos in the 30 free spins tiger rush us Best in 2024

Blogs 30 free spins tiger rush – GG.Bet Local casino – Prominent Esports Gambling Stadium Finest Local casino Application Made use of at the Romanian Web based casinos Really industrial gambling enterprises provides the absolute minimum age of 21, while many tribal gambling enterprises set the newest legal years in the 18. Find out about

Real cash Online casinos in the 30 free spins tiger rush us Best in 2024 Leer más »

Gonzo’s Trip Position Opinion: An enthusiastic zeus slot machine Thrill on the City of Silver

Articles Zeus slot machine: Gonzo’s Journey im Vergleich zu anderen Spielautomaten Extra Has Gonzo seems upwards out of his map which can be up against an excellent wall away from cryptic stops and this cascade inside Avalanches. Your work is always to help Gonzo on his quest by to make those individuals rocks tumble to

Gonzo’s Trip Position Opinion: An enthusiastic zeus slot machine Thrill on the City of Silver Leer más »

Spend from the Mobile phone slot lights Casinos Instead of GamStop, Mobile Charging you 2024

Posts Slot lights: Great things about using pay by cellular phone expenses casinos Conclusion – Should i Play From the A pay By the Cellular phone Gambling establishment? All of the a man in the uk has to manage is always to download the newest software to your casino you to accepts mobile money then

Spend from the Mobile phone slot lights Casinos Instead of GamStop, Mobile Charging you 2024 Leer más »

Shell out from the Cellular telephone Gambling enterprises Not on GamStop, Mobile why can i not withdraw from mr bet Charging you 2024

Posts Why can i not withdraw from mr bet – Benefits associated with having fun with shell out because of the mobile phone bill casinos Completion – Do i need to Play During the A cover From the Cell phone Gambling enterprise? All a man in britain should create should be to down load the

Shell out from the Cellular telephone Gambling enterprises Not on GamStop, Mobile why can i not withdraw from mr bet Charging you 2024 Leer más »

Enjoy Da Vinci Expensive diamonds Twin Play 100 percent free: Remark kathmandu slot free spins and Professionals Cons

Content Kathmandu slot free spins | DaVinci Diamonds Video game Facts & Features Comprehend the Online game entirely Swing Here Because there are Tumbling Reels, participants can produce one or more profitable combos per twist, therefore the game has the capability to give certain sweet advantages. When to play the real deal currency, one will

Enjoy Da Vinci Expensive diamonds Twin Play 100 percent free: Remark kathmandu slot free spins and Professionals Cons Leer más »

4 Lowest Deposit Local casino playson games Incentives 2024

Blogs In control playing systems & thinking exclusion: playson games Possible Restrictions One to Affect step 1 Gambling establishment Deposits Such also offers are currently non-existent in the united kingdom business, however, we’re going to keep an eye out to you personally boost these pages whether it bonus comes up. Same as all other sport

4 Lowest Deposit Local casino playson games Incentives 2024 Leer más »

Better A real income Cellular Casinos online within the night wolves slot free spins 2024

Content Is Cellular Gambling games Secure?: night wolves slot free spins Deposit, Play, and you can Winnings There are several commission tips one fit the newest portable or pill device. Below are a few of your own percentage steps that are offered due to mobile otherwise easier to fool around with thanks to cellular. On

Better A real income Cellular Casinos online within the night wolves slot free spins 2024 Leer más »