Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/plugins/code4rest-pro/dist/header-addons/header-html2-options.php
Ðазад
<?php /** * Header HTML2 Options * * @package Code4rest_Pro */ namespace Code4rest_Pro; use Code4rest\Theme_Customizer; use function Code4rest\code4rest; $settings = array( 'header_html2_tabs' => array( 'control_type' => 'code4rest_tab_control', 'section' => 'header_html2', 'settings' => false, 'priority' => 1, 'input_attrs' => array( 'general' => array( 'label' => __( 'General', 'code4rest-pro' ), 'target' => 'header_html2', ), 'design' => array( 'label' => __( 'Design', 'code4rest-pro' ), 'target' => 'header_html2_design', ), 'active' => 'general', ), ), 'header_html2_tabs_design' => array( 'control_type' => 'code4rest_tab_control', 'section' => 'header_html2_design', 'settings' => false, 'priority' => 1, 'input_attrs' => array( 'general' => array( 'label' => __( 'General', 'code4rest-pro' ), 'target' => 'header_html2', ), 'design' => array( 'label' => __( 'Design', 'code4rest-pro' ), 'target' => 'header_html2_design', ), 'active' => 'design', ), ), 'header_html2_content' => array( 'control_type' => 'code4rest_editor_control', 'sanitize' => 'wp_kses_post', 'section' => 'header_html2', 'priority' => 4, 'default' => code4rest()->default( 'header_html2_content' ), 'partial' => array( 'selector' => '.header-html2', 'container_inclusive' => true, 'render_callback' => 'Code4rest_Pro\header_html2', ), 'input_attrs' => array( 'id' => 'header_html2', ), ), 'header_html2_wpautop' => array( 'control_type' => 'code4rest_switch_control', 'section' => 'header_html2', 'default' => code4rest()->default( 'header_html2_wpautop' ), 'label' => esc_html__( 'Automatically Add Paragraphs', 'code4rest-pro' ), 'partial' => array( 'selector' => '.header-html2', 'container_inclusive' => true, 'render_callback' => 'Code4rest\header_html2', ), ), 'header_html2_typography' => array( 'control_type' => 'code4rest_typography_control', 'section' => 'header_html2_design', 'label' => esc_html__( 'Font', 'code4rest-pro' ), 'default' => code4rest()->default( 'header_html2_typography' ), 'live_method' => array( array( 'type' => 'css_typography', 'selector' => '#main-header .header-html2', 'pattern' => array( 'desktop' => '$', 'tablet' => '$', 'mobile' => '$', ), 'property' => 'font', 'key' => 'typography', ), ), 'input_attrs' => array( 'id' => 'header_html2_typography', ), ), 'header_html2_link_style' => array( 'control_type' => 'code4rest_select_control', 'section' => 'header_html2_design', 'default' => code4rest()->default( 'header_html2_link_style' ), 'label' => esc_html__( 'Link Style', 'code4rest-pro' ), 'input_attrs' => array( 'options' => array( 'normal' => array( 'name' => __( 'Underline', 'code4rest-pro' ), ), 'plain' => array( 'name' => __( 'No Underline', 'code4rest-pro' ), ), ), ), 'live_method' => array( array( 'type' => 'class', 'selector' => '#main-header .header-html2', 'pattern' => 'inner-link-style-$', 'key' => '', ), ), ), 'header_html2_link_color' => array( 'control_type' => 'code4rest_color_control', 'section' => 'header_html2_design', 'label' => esc_html__( 'Link Colors', 'code4rest-pro' ), 'default' => code4rest()->default( 'header_html2_link_color' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '#main-header .header-html2 a', 'property' => 'color', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '#main-header .header-html2 a:hover', 'property' => 'color', 'pattern' => '$', 'key' => 'hover', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Initial Color', 'code4rest-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Hover Color', 'code4rest-pro' ), 'palette' => true, ), ), ), ), 'header_html2_margin' => array( 'control_type' => 'code4rest_measure_control', 'section' => 'header_html2_design', 'priority' => 10, 'default' => code4rest()->default( 'header_html2_margin' ), 'label' => esc_html__( 'Margin', 'code4rest-pro' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '#main-header .header-html2', 'property' => 'margin', 'pattern' => '$', 'key' => 'measure', ), ), 'input_attrs' => array( 'responsive' => false, ), ), 'transparent_header_html2_color' => array( 'control_type' => 'code4rest_color_control', 'section' => 'transparent_header_design', 'label' => esc_html__( 'HTML2 Colors', 'code4rest-pro' ), 'default' => code4rest()->default( 'transparent_header_html2_color' ), 'live_method' => array( array( 'type' => 'css', 'selector' => '.transparent-header #main-header .header-html2,.mobile-transparent-header .mobile-html2', 'property' => 'color', 'pattern' => '$', 'key' => 'color', ), array( 'type' => 'css', 'selector' => '.transparent-header #main-header .header-html2 a, .mobile-transparent-header .mobile-html2 a', 'property' => 'color', 'pattern' => '$', 'key' => 'link', ), array( 'type' => 'css', 'selector' => '.transparent-header #main-header .header-html2 a:hover, .mobile-transparent-header .mobile-html2 a:hover', 'property' => 'color', 'pattern' => '$', 'key' => 'hover', ), ), 'input_attrs' => array( 'colors' => array( 'color' => array( 'tooltip' => __( 'Color', 'code4rest-pro' ), 'palette' => true, ), 'link' => array( 'tooltip' => __( 'Link Color', 'code4rest-pro' ), 'palette' => true, ), 'hover' => array( 'tooltip' => __( 'Link Hover', 'code4rest-pro' ), 'palette' => true, ), ), ), ), ); Theme_Customizer::add_settings( $settings );
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка