Файловый менеджер - Редактировать - /home/infrafs/www/wp-content/themes/trackstore/framework/modules/sidebar/admin/meta-boxes/sidebar-meta-boxes.php
Назад
<?php if ( ! function_exists( 'trackstore_elated_map_sidebar_meta' ) ) { function trackstore_elated_map_sidebar_meta() { $eltd_sidebar_meta_box = trackstore_elated_create_meta_box( array( 'scope' => apply_filters( 'trackstore_elated_set_scope_for_meta_boxes', array( 'page' ) ), 'title' => esc_html__( 'Sidebar', 'trackstore' ), 'name' => 'sidebar_meta' ) ); trackstore_elated_create_meta_box_field( array( 'name' => 'eltd_sidebar_layout_meta', 'type' => 'select', 'label' => esc_html__( 'Layout', 'trackstore' ), 'description' => esc_html__( 'Choose the sidebar layout', 'trackstore' ), 'parent' => $eltd_sidebar_meta_box, 'options' => trackstore_elated_get_custom_sidebars_options() ) ); $eltd_custom_sidebars = trackstore_elated_get_custom_sidebars(); if ( count( $eltd_custom_sidebars ) > 0 ) { trackstore_elated_create_meta_box_field( array( 'name' => 'eltd_custom_sidebar_area_meta', 'type' => 'selectblank', 'label' => esc_html__( 'Choose Widget Area in Sidebar', 'trackstore' ), 'description' => esc_html__( 'Choose Custom Widget area to display in Sidebar"', 'trackstore' ), 'parent' => $eltd_sidebar_meta_box, 'options' => $eltd_custom_sidebars, 'args' => array( 'select2' => true ) ) ); } } add_action( 'trackstore_elated_meta_boxes_map', 'trackstore_elated_map_sidebar_meta', 31 ); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка