Файловый менеджер - Редактировать - /home/infrafs/www/wp-content/themes/trackstore/framework/modules/footer/admin/options-map/content-bottom-map.php
Назад
<?php if ( ! function_exists( 'trackstore_elated_content_bottom_options_map' ) ) { function trackstore_elated_content_bottom_options_map() { $panel_content_bottom = trackstore_elated_add_admin_panel( array( 'page' => '_page_page', 'name' => 'panel_content_bottom', 'title' => esc_html__( 'Content Bottom Area Style', 'trackstore' ) ) ); trackstore_elated_add_admin_field( array( 'name' => 'enable_content_bottom_area', 'type' => 'yesno', 'default_value' => 'no', 'label' => esc_html__( 'Enable Content Bottom Area', 'trackstore' ), 'description' => esc_html__( 'This option will enable Content Bottom area on pages', 'trackstore' ), 'args' => array( 'dependence' => true, 'dependence_hide_on_yes' => '', 'dependence_show_on_yes' => '#eltd_enable_content_bottom_area_container' ), 'parent' => $panel_content_bottom ) ); $enable_content_bottom_area_container = trackstore_elated_add_admin_container( array( 'parent' => $panel_content_bottom, 'name' => 'enable_content_bottom_area_container', 'hidden_property' => 'enable_content_bottom_area', 'hidden_value' => 'no' ) ); $trackstore_custom_sidebars = trackstore_elated_get_custom_sidebars(); trackstore_elated_add_admin_field( array( 'type' => 'selectblank', 'name' => 'content_bottom_sidebar_custom_display', 'default_value' => '', 'label' => esc_html__( 'Widget Area to Display', 'trackstore' ), 'description' => esc_html__( 'Choose a Content Bottom widget area to display', 'trackstore' ), 'options' => $trackstore_custom_sidebars, 'parent' => $enable_content_bottom_area_container ) ); trackstore_elated_add_admin_field( array( 'type' => 'yesno', 'name' => 'content_bottom_in_grid', 'default_value' => 'yes', 'label' => esc_html__( 'Display in Grid', 'trackstore' ), 'description' => esc_html__( 'Enabling this option will place Content Bottom in grid', 'trackstore' ), 'parent' => $enable_content_bottom_area_container ) ); trackstore_elated_add_admin_field( array( 'type' => 'color', 'name' => 'content_bottom_background_color', 'label' => esc_html__( 'Background Color', 'trackstore' ), 'description' => esc_html__( 'Choose a background color for Content Bottom area', 'trackstore' ), 'parent' => $enable_content_bottom_area_container ) ); } add_action( 'trackstore_elated_additional_page_options_map', 'trackstore_elated_content_bottom_options_map' ); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка