Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/themes/code4rest/inc/customizer/options/tec-event-archive-layout-options.php
Ðазад
<?php /** * Header Main Row Options * * @package Code4rest */ namespace Code4rest; use Code4rest\Theme_Customizer; use function Code4rest\code4rest; $settings = array( 'info_tribe_events_archive_layout' => array( 'control_type' => 'code4rest_title_control', 'section' => 'tribe_events_archive', 'priority' => 10, 'label' => esc_html__( 'Events Layout', 'code4rest' ), 'settings' => false, ), 'tribe_events_archive_layout' => array( 'control_type' => 'code4rest_radio_icon_control', 'section' => 'tribe_events_archive', 'label' => esc_html__( 'Events Layout', 'code4rest' ), 'transport' => 'refresh', 'priority' => 10, 'default' => code4rest()->default( 'tribe_events_archive_layout' ), 'input_attrs' => array( 'layout' => array( 'normal' => array( 'tooltip' => __( 'Normal', 'code4rest' ), 'icon' => 'normal', ), 'narrow' => array( 'tooltip' => __( 'Narrow', 'code4rest' ), 'icon' => 'narrow', ), 'fullwidth' => array( 'tooltip' => __( 'Fullwidth', 'code4rest' ), 'icon' => 'fullwidth', ), 'left' => array( 'tooltip' => __( 'Left Sidebar', 'code4rest' ), 'icon' => 'leftsidebar', ), 'right' => array( 'tooltip' => __( 'Right Sidebar', 'code4rest' ), 'icon' => 'rightsidebar', ), ), 'class' => 'code4rest-three-col', 'responsive' => false, ), ), 'tribe_events_archive_sidebar_id' => array( 'control_type' => 'code4rest_select_control', 'section' => 'tribe_events_archive', 'label' => esc_html__( 'Events Sidebar', 'code4rest' ), 'transport' => 'refresh', 'priority' => 10, 'default' => code4rest()->default( 'tribe_events_archive_sidebar_id' ), 'input_attrs' => array( 'options' => code4rest()->sidebar_options(), ), ), 'tribe_events_archive_content_background' => array( 'control_type' => 'code4rest_background_control', 'section' => 'tribe_events_archive', 'label' => esc_html__( 'Events Background', 'code4rest' ), 'default' => code4rest()->default( 'tribe_events_archive_content_background' ), 'live_method' => array( array( 'type' => 'css_background', 'selector' => 'body.post-type-archive-tribe_events .site, body.post-type-archive-tribe_events.content-style-unboxed .site', 'property' => 'background', 'pattern' => '$', 'key' => 'base', ), ), 'input_attrs' => array( 'tooltip' => __( 'Events Background', 'code4rest' ), ), ), ); Theme_Customizer::add_settings( $settings );
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка