Файловый менеджер - Редактировать - /home/infrafs/www/wp-content/themes/trackstore/framework/modules/woocommerce/admin/meta-boxes/woocommerce-meta-boxes.php
Назад
<?php if(!function_exists('trackstore_elated_map_woocommerce_meta')) { function trackstore_elated_map_woocommerce_meta() { $woocommerce_meta_box = trackstore_elated_create_meta_box( array( 'scope' => array('product'), 'title' => esc_html__('Product Meta', 'trackstore'), 'name' => 'woo_product_meta' ) ); trackstore_elated_create_meta_box_field(array( 'name' => 'eltd_single_product_layout_meta', 'type' => 'select', 'label' => esc_html__('Single Product Layout', 'trackstore'), 'description' => esc_html__('Select single product page layout', 'trackstore'), 'parent' => $woocommerce_meta_box, 'default_value' => 'default', 'options' => array( '' => esc_html__('Default', 'trackstore'), 'standard' => esc_html__('Standard', 'trackstore'), 'wide-gallery' => esc_html__('Wide Gallery', 'trackstore') ), )); trackstore_elated_create_meta_box_field(array( 'name' => 'eltd_product_featured_image_size', 'type' => 'select', 'label' => esc_html__('Dimensions for Product List Shortcode', 'trackstore'), 'description' => esc_html__('Choose image layout when it appears in Elated Product List - Masonry layout shortcode', 'trackstore'), 'parent' => $woocommerce_meta_box, 'options' => array( 'eltd-woo-image-normal-width' => esc_html__('Default', 'trackstore'), 'eltd-woo-image-large-width' => esc_html__('Large width', 'trackstore'), ) )); trackstore_elated_create_meta_box_field( array( 'name' => 'eltd_show_title_area_woo_meta', 'type' => 'select', 'default_value' => '', 'label' => esc_html__('Show Title Area', 'trackstore'), 'description' => esc_html__('Disabling this option will turn off page title area', 'trackstore'), 'parent' => $woocommerce_meta_box, 'options' => trackstore_elated_get_yes_no_select_array() ) ); trackstore_elated_create_meta_box_field(array( 'name' => 'eltd_single_product_new_meta', 'type' => 'select', 'label' => esc_html__('Enable New Product Mark', 'trackstore'), 'description' => esc_html__('Enabling this option will show new product mark on your product lists and product single', 'trackstore'), 'parent' => $woocommerce_meta_box, 'options' => array( 'no' => esc_html__('No', 'trackstore'), 'yes' => esc_html__('Yes', 'trackstore') ) )); } add_action('trackstore_elated_meta_boxes_map', 'trackstore_elated_map_woocommerce_meta', 99); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка