Файловый менеджер - Редактировать - /home/infrafs/www/wp-content/themes/trackstore/framework/modules/footer/admin/meta-boxes/footer-meta-boxes.php
Назад
<?php if ( ! function_exists( 'trackstore_elated_map_footer_meta' ) ) { function trackstore_elated_map_footer_meta() { $footer_meta_box = trackstore_elated_create_meta_box( array( 'scope' => apply_filters( 'trackstore_elated_set_scope_for_meta_boxes', array( 'page', 'post' ) ), 'title' => esc_html__( 'Footer', 'trackstore' ), 'name' => 'footer_meta' ) ); trackstore_elated_create_meta_box_field( array( 'name' => 'eltd_disable_footer_meta', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Disable Footer for this Page', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will hide footer on this page', 'trackstore' ), 'parent' => $footer_meta_box ) ); trackstore_elated_create_meta_box_field( array( 'name' => 'eltd_show_footer_top_meta', 'type' => 'select', 'default_value' => '', 'label' => esc_html__( 'Show Footer Top', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will show Footer Top area', 'trackstore' ), 'parent' => $footer_meta_box, 'options' => trackstore_elated_get_yes_no_select_array() ) ); trackstore_elated_create_meta_box_field( array( 'name' => 'eltd_show_footer_bottom_meta', 'type' => 'select', 'default_value' => '', 'label' => esc_html__( 'Show Footer Bottom', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will show Footer Bottom area', 'trackstore' ), 'parent' => $footer_meta_box, 'options' => trackstore_elated_get_yes_no_select_array() ) ); } add_action( 'trackstore_elated_meta_boxes_map', 'trackstore_elated_map_footer_meta', 70 ); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка