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

Public

Kazino qonuniy tartiblari Pin up casino bilan xavfsiz o'yin tajribasi yaratish

Kazino qonuniy tartiblari Pin up casino bilan xavfsiz o'yin tajribasi yaratish Kazino qonuniyligi va uning ahamiyati Kazino qonuniyligi o’yinlarning xavfsizligini ta’minlashda muhim rol o’ynaydi. Har bir mamlakatda o’ziga xos qonunlar va tartiblar mavjud bo’lib, ular kazino faoliyatini boshqaradi. Ushbu qonunlar o’yinchilarning huquqlarini himoya qiladi va firibgarlik holatlarining oldini oladi. Pin-up UZ casino o’z faoliyatini qonuniy […]

Kazino qonuniy tartiblari Pin up casino bilan xavfsiz o'yin tajribasi yaratish Leer más »

Onlayn kazino mu, yoxsa ənənəvi kazino Pin up ilə seçim edərkən hansını seçməlisiniz

Onlayn kazino mu, yoxsa ənənəvi kazino Pin up ilə seçim edərkən hansını seçməlisiniz Onlayn kazino və ənənəvi kazino arasındakı fərqlər Onlayn kazino və ənənəvi kazino arasında bir neçə əsas fərq mövcuddur. Onlayn kazinolar, internet vasitəsilə istənilən yerdən və istənilən vaxt oynama imkanı təklif edir. Bu, oyunçulara rahatlıq və esneklik verir, çünki evdən çıxmadan oyun təcrübəsindən

Onlayn kazino mu, yoxsa ənənəvi kazino Pin up ilə seçim edərkən hansını seçməlisiniz Leer más »

Məşhur qumarbazların dünyası Pinco ilə tanış olun

Məşhur qumarbazların dünyası Pinco ilə tanış olun Pinco kazino: Yenilikçi oyun platforması Pinco kazino, müasir texnologiyaların tətbiqi ilə oyunsevərlərə unikal bir təcrübə təqdim edir. İstifadəçilər burada canlı kazino, sürətli oyunlar və lotereya kimi geniş kateqoriyalarla tanış ola bilərlər. Hər bir oyun, istifadəçi dostu interfeysi və qrafikası ilə diqqət çəkir, bu da oyunların daha maraqlı və

Məşhur qumarbazların dünyası Pinco ilə tanış olun Leer más »

Понимание азартных игр как pinco casino может помочь в борьбе с зависимостью

Понимание азартных игр как pinco casino может помочь в борьбе с зависимостью Значение понимания азартных игр Азартные игры могут быть увлекательным способом развлечения, однако важно понимать, как они функционируют и какие риски могут быть связаны с ними. Осознание механизмов, лежащих в основе азартных игр, позволяет игрокам принимать более осознанные решения, что, например, делает pinco привлекательным

Понимание азартных игр как pinco casino может помочь в борьбе с зависимостью Leer más »

Casino etiquette How to make a great impression at Chicken Road

Casino etiquette How to make a great impression at Chicken Road Understanding Casino Etiquette When visiting a casino, it’s essential to understand the unspoken rules that govern behavior. Proper casino etiquette ensures a pleasant experience for everyone involved. This includes respecting the space of others, refraining from loud conversations, and adhering to game-specific rules. Demonstrating

Casino etiquette How to make a great impression at Chicken Road Leer más »

Qazandığınızda istifadə edə biləcəyiniz strategiya Pin-Up ilə müvəffəqiyyətin açarı

Qazandığınızda istifadə edə biləcəyiniz strategiya Pin-Up ilə müvəffəqiyyətin açarı Pin-Up platformasının üstünlükləri Pin-Up, onlayn qumar dünyasında tanınmış bir platformadır. Bu platforma istifadəçilərə geniş oyun çeşidi təqdim edir, bu da oyunçuların müxtəlif oyunları sınamasına imkan tanıyır. Oyunçular slot oyunlarından, kart oyunlarından, ruletdən idman faktoruyla bir arada zövq almaqla yanaşı, pinup stilində yeni imkanlarla tanış olurlar. Bu

Qazandığınızda istifadə edə biləcəyiniz strategiya Pin-Up ilə müvəffəqiyyətin açarı Leer más »

Cultural insights into the allure of gambling across different societies

Cultural insights into the allure of gambling across different societies The Historical Context of Gambling Gambling has deep historical roots, transcending cultures and time periods. From ancient civilizations like the Chinese and Romans, where dice games were popular, to the betting practices of indigenous tribes, gambling has served various purposes. In many societies, it was

Cultural insights into the allure of gambling across different societies Leer más »

Regulaciones legales en el juego lo que versus debe saber para jugar con confianza

Regulaciones legales en el juego lo que versus debe saber para jugar con confianza Introducción a las regulaciones en el juego El mundo del juego en línea ha crecido exponencialmente en los últimos años, lo que ha llevado a la necesidad de establecer regulaciones que protejan a los jugadores. Es fundamental conocer estas regulaciones para

Regulaciones legales en el juego lo que versus debe saber para jugar con confianza Leer más »

La cultura del juego implicaciones sociales de PinUp Casino en nuestra comunidad

La cultura del juego implicaciones sociales de PinUp Casino en nuestra comunidad Impacto de la cultura del juego en la sociedad La cultura del juego ha evolucionado significativamente en las últimas décadas, y plataformas como PinUp Casino han jugado un papel crucial en esta transformación. Las apuestas en línea se han convertido en una forma

La cultura del juego implicaciones sociales de PinUp Casino en nuestra comunidad Leer más »