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

Sin categoría

Going for a slot online game that meets new playing solutions is certainly going getting difficult

Super Moolah Immortal Like nine Bins away from Gold Finding the optimum Slot Online game for you Whether you’re to try out on Microgaming so you’re able to Quickspin slot websites, we has created a listing to help you decide which of those is best for your. ?Take pleasure in into the trial form basic […]

Going for a slot online game that meets new playing solutions is certainly going getting difficult Leer más »

Assistance Slot machine game Winnings and you will Come back to Pro (RTP)

Better Harbors to experience on Beau Rivage | Knowledge Beau Rivage, a luxurious hotel and you can gambling enterprise place inside Biloxi, Mississippi, now offers an exhilarating gaming feel having slot people. Having a big band of slots offered, you will need to choose an informed of these to enhance the newest options off profitable

Assistance Slot machine game Winnings and you will Come back to Pro (RTP) Leer más »

Keep reading to find out more and you may speak about effective standing steps created to the greater volatility enjoy

Have you found a scam site to provide a secret standing means to make you a lot of money? Usually do not assume something like that on this subject page. Slots can not be defeated in the long run. That being said, there are methods away from to try out ports you would like and

Keep reading to find out more and you may speak about effective standing steps created to the greater volatility enjoy Leer más »

7Kasino Local casino Opinion Will provide you online casinos for real money, with Solid Reasoning to experience

Articles Greatest Casinos on the internet – online casinos for real money, asino avaliado pelo Local casino Added bonus Cardio What exactly is great about 7Kasino is that no install is needed to gamble as you possibly can obtain all of the video game since the thumb types proper on your browser. Concurrently, of numerous

7Kasino Local casino Opinion Will provide you online casinos for real money, with Solid Reasoning to experience Leer más »

Better Mobile Casinos in the usa live casino Mansion to possess December 2024

Blogs Live casino Mansion – SlotsandCasino Android os internet casino apps you to pay a real income Discover your chosen Real cash Ports We believe multiple points to make sure that we have been providing you an informed recommendation you can and to ensure you have a great time while playing from the our very

Better Mobile Casinos in the usa live casino Mansion to possess December 2024 Leer más »

Suggestions Casino slot games Payouts and Return to User (RTP)

Most readily useful Slots to relax and play towards the Beau Rivage | Studies Beau Rivage, a lavish resorts and you may gambling enterprise nestled within the Biloxi, Mississippi, also provides an exciting to tackle experience for position fans. With a huge group of slot machines offered, it is important to identify a knowledgeable ones

Suggestions Casino slot games Payouts and Return to User (RTP) Leer más »

The video game has increasing wilds and you can respins, along with low volatility and you can a keen RTP off %

Most readily useful Slot machines playing during the Web based casinos While you are thinking which are the top slots to try out was, there is rounded within the 10 very scholar-amicable and more than-recognized options for your lower than. you to definitely. Starburst Coming in earliest bringing what’s the best slots playing try Starburst,

The video game has increasing wilds and you can respins, along with low volatility and you can a keen RTP off % Leer más »

For the Internet casino HEX discover ports off NetEnt, ous designers

Enjoy Gambling enterprise Slots Away from Finest Local casino Application Developers Anyone, having put perhaps the short search on slot machines, can see that we now have a lot of companies, which would them. Write one to British slots business will soon appear one to of them. One of the most better-known and more than

For the Internet casino HEX discover ports off NetEnt, ous designers Leer más »

The online game enjoys growing wilds and you will respins, including sensible volatility and you can a passionate RTP away from %

Best Slots to try out in Online casinos If you are thought exactly what are the top slot machines so you can check out are, there was game in the 10 most student-amicable and most-accepted choices for you less than. step 1. Starburst Arriving first to own what is the finest slots to play is

The online game enjoys growing wilds and you will respins, including sensible volatility and you can a passionate RTP away from % Leer más »

Shell out from the Sms all spins win contact in Australia Gambling enterprise within the Canada: Prompt and Safe Money

Blogs All spins win contact in Australia | Having fun with spend because of the cellular telephone statement approach from the United kingdom casinos Perform pay from the mobile local casino sites provides deposit constraints? PayViaPhone is a cellular commission means personal so you can Uk people, and works just like our other required shell

Shell out from the Sms all spins win contact in Australia Gambling enterprise within the Canada: Prompt and Safe Money Leer más »