Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/plugins/foxiz-core/elementor/section.php
Arrière
<?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_section_dark_mode' ) ) { function foxiz_section_dark_mode( $section, $args ) { /* header options */ $section->start_controls_section( 'foxiz_section_bg_dark_mode', array( 'label' => esc_html__( 'Foxiz - Dark Mode Background', 'foxiz-core' ), 'tab' => \Elementor\Controls_Manager::TAB_STYLE, ) ); $section->add_group_control( \Elementor\Group_Control_Background::get_type(), array( 'label' => esc_html__( 'Dark Mode Background', 'foxiz-core' ), 'name' => 'dark_mode_background', 'types' => array( 'classic', 'gradient' ), 'selector' => '[data-theme="dark"] {{WRAPPER}}.elementor-section', ) ); $section->end_controls_section(); } } if ( ! function_exists( 'foxiz_section_header_sticky' ) ) { function foxiz_section_header_sticky( $section, $args ) { if ( ! is_admin() || ( 'rb-etemplate' === get_post_type() && is_admin() ) ) { $section->start_controls_section( 'foxiz_section_header', array( 'label' => esc_html__( 'Foxiz - for Header Template', 'foxiz-core' ), 'tab' => \Elementor\Controls_Manager::TAB_LAYOUT, 'hide_in_inner' => true, ) ); $section->add_control( 'sticky_info', array( 'type' => \Elementor\Controls_Manager::RAW_HTML, 'raw' => esc_html__( 'The settings below are used for the header template.', 'foxiz' ), 'content_classes' => 'elementor-panel-alert elementor-panel-alert-success', ) ); $section->add_control( 'header_sticky', array( 'label' => esc_html__( 'Sticky Header', 'foxiz-core' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'description' => esc_html__( 'Enable or disable the sticky for this section.', 'foxiz-core' ), 'return_value' => 'section-sticky', 'prefix_class' => 'e-', 'render_type' => 'none', 'frontend_available' => true, 'default' => '', ) ); $section->add_control( 'header_smart_sticky', array( 'label' => esc_html__( 'Smart Sticky', 'foxiz-core' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'description' => esc_html__( 'Only stick the main menu when scrolling up.', 'foxiz-core' ), 'condition' => array( 'header_sticky' => 'section-sticky' ), 'return_value' => 'is-smart-sticky', 'prefix_class' => '' ) ); $section->add_control( 'stitle_sticky', array( 'label' => esc_html__( 'Single Headline Sticky', 'foxiz-core' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'description' => esc_html__( 'Enable or disable the sticky for the single post headline. The single headline will replace on the main navigation.', 'foxiz-core' ), 'return_value' => 'stitle-sticky', 'prefix_class' => 'e-', 'render_type' => 'none', 'frontend_available' => true, 'default' => '', ) ); $section->add_control( 'sticky_bg_info', array( 'type' => \Elementor\Controls_Manager::RAW_HTML, 'raw' => esc_html__( 'Header Sticky Background.', 'foxiz' ), 'content_classes' => 'elementor-panel-alert elementor-panel-alert-success', ) ); $section->add_group_control( \Elementor\Group_Control_Background::get_type(), array( 'name' => 'header_sticky_bg', 'label' => esc_html__( 'Sticky Background', 'foxiz-core' ), 'types' => array( 'classic', 'gradient' ), 'selector' => '.sticky-on {{WRAPPER}}.elementor-section' ) ); $section->add_control( 'dark_sticky_bg_info', array( 'type' => \Elementor\Controls_Manager::RAW_HTML, 'raw' => esc_html__( 'Dark Mode - Header Sticky Background.', 'foxiz' ), 'content_classes' => 'elementor-panel-alert elementor-panel-alert-success', ) ); $section->add_group_control( \Elementor\Group_Control_Background::get_type(), array( 'name' => 'dark_header_sticky_bg', 'label' => esc_html__( 'Sticky Background', 'foxiz-core' ), 'types' => array( 'classic', 'gradient' ), 'selector' => '.sticky-on[data-theme="dark"] {{WRAPPER}}.elementor-section' ) ); $section->end_controls_section(); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages