golden hour
/var/www/html/wp-content/plugins/yith-woocommerce-zoom-magnifier/plugin-fw/templates/fields
⬆️ Go Up
Upload
File/Folder
Size
Actions
ajax-customers.php
3.36 KB
Del
OK
ajax-posts.php
3.42 KB
Del
OK
ajax-products.php
609 B
Del
OK
ajax-terms.php
3.94 KB
Del
OK
buttons.php
958 B
Del
OK
checkbox-array.php
1.36 KB
Del
OK
checkbox.php
1.08 KB
Del
OK
colorpicker.php
1.23 KB
Del
OK
copy-to-clipboard.php
1.93 KB
Del
OK
country-select.php
2.38 KB
Del
OK
custom.php
295 B
Del
OK
customtabs.php
5.41 KB
Del
OK
date-format.php
3 KB
Del
OK
datepicker.php
868 B
Del
OK
dimensions.php
5.01 KB
Del
OK
hidden.php
1.04 KB
Del
OK
html.php
388 B
Del
OK
icons.php
2.5 KB
Del
OK
image-dimensions.php
1.3 KB
Del
OK
image-gallery.php
1.75 KB
Del
OK
inline-fields.php
2.41 KB
Del
OK
list-table.php
2.21 KB
Del
OK
multi-colorpicker.php
2.26 KB
Del
OK
multi-select.php
1.4 KB
Del
OK
number.php
1.2 KB
Del
OK
onoff.php
1.45 KB
Del
OK
password.php
1.06 KB
Del
OK
preview.php
769 B
Del
OK
radio.php
1.43 KB
Del
OK
resources
-
Del
OK
select-buttons.php
1.01 KB
Del
OK
select-images.php
2.26 KB
Del
OK
select-mailchimp.php
1.43 KB
Del
OK
select.php
2.49 KB
Del
OK
sep.php
347 B
Del
OK
sidebarlist.php
1.01 KB
Del
OK
sidebars.php
4.41 KB
Del
OK
simple-text.php
799 B
Del
OK
slider.php
1.9 KB
Del
OK
text-array.php
2.07 KB
Del
OK
text-button.php
1.6 KB
Del
OK
text.php
957 B
Del
OK
textarea-codemirror.php
1.17 KB
Del
OK
textarea-editor.php
2.03 KB
Del
OK
textarea.php
1.11 KB
Del
OK
title.php
771 B
Del
OK
toggle-element-fixed.php
3.31 KB
Del
OK
toggle-element.php
14.05 KB
Del
OK
upload.php
1.71 KB
Del
OK
Edit: sidebars.php
<?php /** * Template for displaying the sidebars field * * @var array $field The field. * @package YITH\PluginFramework\Templates\Fields */ defined( 'ABSPATH' ) || exit; // Exit if accessed directly. list ( $field_id, $name, $value ) = yith_plugin_fw_extract( $field, 'id', 'name', 'value' ); $layout = ! isset( $value['layout'] ) ? 'sidebar-no' : $value['layout']; $sidebar_left = ! isset( $value['sidebar-left'] ) ? '-1' : $value['sidebar-left']; $sidebar_right = ! isset( $value['sidebar-right'] ) ? '-1' : $value['sidebar-right']; ?> <div class="yith-plugin-fw-sidebar-layout"> <div class="option"> <input type="radio" name="<?php echo esc_attr( $name ); ?>[layout]" id="<?php echo esc_attr( $field_id ) . '-left'; ?>" value="sidebar-left" <?php checked( $layout, 'sidebar-left' ); ?> /> <img src="<?php echo esc_url( YIT_CORE_PLUGIN_URL ); ?>/assets/images/sidebar-left.png" title="<?php esc_attr_e( 'Left sidebar', 'yith-plugin-fw' ); ?>" alt="<?php esc_attr_e( 'Left sidebar', 'yith-plugin-fw' ); ?>" class="<?php echo esc_attr( $field_id ) . '-left'; ?>" data-type="left"/> <input type="radio" name="<?php echo esc_attr( $name ); ?>[layout]" id="<?php echo esc_attr( $field_id ) . '-right'; ?>" value="sidebar-right" <?php checked( $layout, 'sidebar-right' ); ?> /> <img src="<?php echo esc_url( YIT_CORE_PLUGIN_URL ); ?>/assets/images/sidebar-right.png" title="<?php esc_attr_e( 'Right sidebar', 'yith-plugin-fw' ); ?>" alt="<?php esc_attr_e( 'Right sidebar', 'yith-plugin-fw' ); ?>" class="<?php echo esc_attr( $field_id ) . '-right'; ?>" data-type="right"/> <input type="radio" name="<?php echo esc_attr( $name ); ?>[layout]" id="<?php echo esc_attr( $field_id ) . '-double'; ?>" value="sidebar-double" <?php checked( $layout, 'sidebar-double' ); ?> /> <img src="<?php echo esc_url( YIT_CORE_PLUGIN_URL ); ?>/assets/images/double-sidebar.png" title="<?php esc_attr_e( 'No sidebar', 'yith-plugin-fw' ); ?>" alt="<?php esc_attr_e( 'No sidebar', 'yith-plugin-fw' ); ?>" class="<?php echo esc_attr( $field_id ) . '-double'; ?>" data-type="double"/> <input type="radio" name="<?php echo esc_attr( $name ); ?>[layout]" id="<?php echo esc_attr( $field_id ) . '-no'; ?>" value="sidebar-no" <?php checked( $layout, 'sidebar-no' ); ?> /> <img src="<?php echo esc_url( YIT_CORE_PLUGIN_URL ); ?>/assets/images/no-sidebar.png" title="<?php esc_attr_e( 'No sidebar', 'yith-plugin-fw' ); ?>" alt="<?php esc_attr_e( 'No sidebar', 'yith-plugin-fw' ); ?>" class="<?php echo esc_attr( $field_id ) . '-no'; ?>" data-type="none"/> </div> <div class="clearfix"></div> <div class="option" id="choose-sidebars"> <div class="side"> <div class="yith-plugin-fw-sidebar-layout-sidebar-left-container select-mask" <?php if ( ! in_array( $layout, array( 'sidebar-double', 'sidebar-left' ), true ) ) : ?> style="display:none" <?php endif; ?> > <label for="<?php echo esc_attr( $field_id ); ?>-sidebar-left"><?php esc_html_e( 'Left Sidebar', 'yith-plugin-fw' ); ?></label> <select class="yith-plugin-fw-select" name="<?php echo esc_attr( $name ); ?>[sidebar-left]" id="<?php echo esc_attr( $field_id ); ?>-sidebar-left"> <option value="-1"><?php esc_html_e( 'Choose a sidebar', 'yith-plugin-fw' ); ?></option> <?php foreach ( yit_registered_sidebars() as $val => $option ) { ?> <option value="<?php echo esc_attr( $val ); ?>" <?php selected( $sidebar_left, $val ); ?>><?php echo esc_html( $option ); ?></option> <?php } ?> </select> </div> </div> <div class="side" style="clear: both"> <div class="yith-plugin-fw-sidebar-layout-sidebar-right-container select-mask" <?php if ( ! in_array( $layout, array( 'sidebar-double', 'sidebar-right' ), true ) ) : ?> style="display:none" <?php endif; ?> > <label for="<?php echo esc_attr( $field_id ); ?>-sidebar-right"><?php esc_html_e( 'Right Sidebar', 'yith-plugin-fw' ); ?></label> <select class="yith-plugin-fw-select" name="<?php echo esc_attr( $name ); ?>[sidebar-right]" id="<?php echo esc_attr( $field_id ); ?>-sidebar-right"> <option value="-1"><?php esc_html_e( 'Choose a sidebar', 'yith-plugin-fw' ); ?></option> <?php foreach ( yit_registered_sidebars() as $val => $option ) { ?> <option value="<?php echo esc_attr( $val ); ?>" <?php selected( $sidebar_right, $val ); ?>><?php echo esc_html( $option ); ?></option> <?php } ?> </select> </div> </div> </div> </div>
Save