/** * 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(); Public – Página 17 – Partidas de San Luis

Public

Gdzie znaleźć najlepsze doświadczenia online czy w kasynie stacjonarnym playid

Gdzie znaleźć najlepsze doświadczenia online czy w kasynie stacjonarnym playid Nowoczesne technologie w grach hazardowych Technologia w dzisiejszych czasach odgrywa kluczową rolę w branży hazardowej. Kasyna online wprowadziły innowacyjne rozwiązania, które zmieniają sposób, w jaki gracze doświadczają gier. Szybkie płatności, błyskawiczne wypłaty i systemy lojalnościowe to tylko niektóre z elementów, które przyciągają graczy do platform

Gdzie znaleźć najlepsze doświadczenia online czy w kasynie stacjonarnym playid Leer más »

L'impact des jeux d'argent sur la santé mentale une réalité méconnue

L'impact des jeux d'argent sur la santé mentale une réalité méconnue Les jeux d’argent et leur attrait Les jeux d’argent, qu’ils se pratiquent en ligne ou dans des établissements physiques, attirent des millions de joueurs à travers le monde. Cet attrait repose en grande partie sur la promesse de gains rapides et la possibilité de

L'impact des jeux d'argent sur la santé mentale une réalité méconnue Leer más »

Онлайн-казино или наземные заведения что выбрать для удачной игры

Онлайн-казино или наземные заведения что выбрать для удачной игры Преимущества онлайн-казино Онлайн-казино предлагают множество преимуществ, которые привлекают игроков со всего мира. Первое и наиболее значимое из них — это доступность. Играть можно в любое время и в любом месте, где есть интернет. Это позволяет игрокам наслаждаться любимыми играми, не тратя время на поездки в наземные

Онлайн-казино или наземные заведения что выбрать для удачной игры Leer más »

Mastering casino strategies An advanced guide to winning techniques

Mastering casino strategies An advanced guide to winning techniques Understanding the Basics of Casino Games To master casino strategies, it’s essential to first grasp the fundamental mechanics of various casino games. Whether it’s blackjack, roulette, or poker, each game has its own unique rules and strategies. Understanding these basics allows players to make informed decisions,

Mastering casino strategies An advanced guide to winning techniques Leer más »

Understanding the step-by-step process of winning at a casino

Understanding the step-by-step process of winning at a casino Know the Games Understanding the various games available at a casino is crucial for increasing your chances of winning. Each game has its own unique rules, odds, and strategies. For example, games like blackjack and poker require not only luck but also skill and strategy. Familiarize

Understanding the step-by-step process of winning at a casino Leer más »

Evoluzione delle tendenze nel settore dei giochi di casinò

Evoluzione delle tendenze nel settore dei giochi di casinò Storia e sviluppo dei casinò Il settore dei giochi di casinò ha radici antiche, risalenti a civiltà come quella romana e greca, dove si svolgevano giochi di azzardo in contesti sociali. Con il passare del tempo, i casinò hanno evoluto il loro format, passando da piccole

Evoluzione delle tendenze nel settore dei giochi di casinò Leer más »

Mastering casino strategies An advanced guide to winning techniques

Mastering casino strategies An advanced guide to winning techniques Understanding the Basics of Casino Strategies Before diving into advanced casino strategies, it is essential to grasp the foundational concepts that govern gambling. Casinos operate on the principle of house edge, which guarantees that over time, the casino will always profit from games. Understanding the odds

Mastering casino strategies An advanced guide to winning techniques Leer más »

Slik påvirker endringer i lovverket casinospill i Norge

Slik påvirker endringer i lovverket casinospill i Norge Bakgrunn for lovverket om casinospill Norge har en lang tradisjon for regulering av pengespill, som går tilbake til midten av 1900-tallet. Lovverket har som mål å beskytte spillere mot problemspill og skape et ansvarlig spillmiljø. Hovedfokus har vært på å begrense tilgangen til utenlandske aktører og opprettholde

Slik påvirker endringer i lovverket casinospill i Norge Leer más »

Så lyckas du med dina casinostrategier tips och tricks för att vinna

Så lyckas du med dina casinostrategier tips och tricks för att vinna Förstå spelet och dess regler Innan du dyker ner i casinovärlden är det avgörande att förstå spelets regler och mekanismer. Varje spel, från blackjack till roulette, har sina egna unika regler som kan påverka dina strategier. Att ha en klar bild av hur

Så lyckas du med dina casinostrategier tips och tricks för att vinna Leer más »