whoami7 - Manager
:
/
home
/
analuakl
/
bents.in
/
wp-content
/
themes
/
medizin
/
customizer
/
shop
/
Upload File:
files >> /home/analuakl/bents.in/wp-content/themes/medizin/customizer/shop/archive.php
<?php $section = 'shop_archive'; $priority = 1; $prefix = 'shop_archive_'; $sidebar_positions = Medizin_Helper::get_list_sidebar_positions(); $registered_sidebars = Medizin_Helper::get_registered_sidebars(); Medizin_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Header', 'medizin' ) . '</div>', ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'select', 'settings' => 'product_archive_header_type', 'label' => esc_html__( 'Header Style', 'medizin' ), 'description' => esc_html__( 'Select default header style that displays on archive product page.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '', 'choices' => Medizin_Header::instance()->get_list( true, esc_html__( 'Use Global Header Style', 'medizin' ) ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'product_archive_header_overlay', 'label' => esc_html__( 'Header Overlay', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '', 'choices' => array( '' => esc_html__( 'Use Global', 'medizin' ), '0' => esc_html__( 'No', 'medizin' ), '1' => esc_html__( 'Yes', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'product_archive_header_skin', 'label' => esc_html__( 'Header Skin', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '', 'choices' => array( '' => esc_html__( 'Use Global', 'medizin' ), 'dark' => esc_html__( 'Dark', 'medizin' ), 'light' => esc_html__( 'Light', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Page Title Bar', 'medizin' ) . '</div>', ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'select', 'settings' => 'product_archive_title_bar_layout', 'label' => esc_html__( 'Title Bar Style', 'medizin' ), 'description' => esc_html__( 'Select default Title Bar that displays on all archive product (included cart, checkout, my-account...) pages.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '', 'choices' => Medizin_Title_Bar::instance()->get_list( true, esc_html__( 'Use Global Title Bar', 'medizin' ) ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Sidebar', 'medizin' ) . '</div>', ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'select', 'settings' => 'product_archive_page_sidebar_1', 'label' => esc_html__( 'Sidebar 1', 'medizin' ), 'description' => esc_html__( 'Select sidebar 1 that will display on product archive pages.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => 'none', 'choices' => $registered_sidebars, ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'select', 'settings' => 'product_archive_page_sidebar_2', 'label' => esc_html__( 'Sidebar 2', 'medizin' ), 'description' => esc_html__( 'Select sidebar 2 that will display on product archive pages.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => 'none', 'choices' => $registered_sidebars, ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'product_archive_page_sidebar_position', 'label' => esc_html__( 'Sidebar Position', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => 'left', 'choices' => $sidebar_positions, ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'number', 'settings' => 'product_archive_single_sidebar_width', 'label' => esc_html__( 'Single Sidebar Width', 'medizin' ), 'description' => esc_html__( 'Controls the width of the sidebar when only one sidebar is present. Input value as % unit. For e.g: 33.33333. Leave blank to use global setting.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '25', ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'dimension', 'settings' => 'product_archive_single_sidebar_offset', 'label' => esc_html__( 'Single Sidebar Offset', 'medizin' ), 'description' => esc_html__( 'Controls the offset of the sidebar when only one sidebar is present. Enter value including any valid CSS unit. For e.g: 70px. Leave blank to use global setting.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '0', ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Others', 'medizin' ) . '</div>', ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'preset', 'settings' => 'shop_archive_preset', 'label' => esc_html__( 'Shop Layout Preset', 'medizin' ), 'section' => $section, 'default' => '-1', 'priority' => $priority++, 'multiple' => 0, 'choices' => array( '-1' => array( 'label' => esc_html__( 'None', 'medizin' ), 'settings' => array(), ), 'left-sidebar' => array( 'label' => esc_html__( 'Shop Left Sidebar', 'medizin' ), 'settings' => array( 'product_archive_page_sidebar_1' => 'shop_sidebar', 'product_archive_page_sidebar_position' => 'left', 'shop_archive_number_item' => 20, 'shop_archive_lg_columns' => '4', 'shop_archive_sorting' => '1', 'shop_archive_filtering' => '0', ), ), 'right-sidebar' => array( 'label' => esc_html__( 'Shop Right Sidebar', 'medizin' ), 'settings' => array( 'product_archive_page_sidebar_1' => 'shop_sidebar', 'product_archive_page_sidebar_position' => 'right', 'shop_archive_number_item' => 20, 'shop_archive_lg_columns' => '4', 'shop_archive_sorting' => '1', 'shop_archive_filtering' => '0', ), ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_layout', 'label' => esc_html__( 'Layout', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => 'boxed', 'choices' => array( 'boxed' => esc_html__( 'Boxed', 'medizin' ), 'wide' => esc_html__( 'Wide', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_sorting', 'label' => esc_html__( 'Sorting', 'medizin' ), 'description' => esc_html__( 'Turn on to show sorting select options that displays above products list.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '0', 'choices' => array( '0' => esc_html__( 'Hide', 'medizin' ), '1' => esc_html__( 'Show', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_filtering', 'label' => esc_html__( 'Filtering', 'medizin' ), 'description' => esc_html__( 'Turn on to show filtering button that displays above products list.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '1', 'choices' => array( '0' => esc_html__( 'Hide', 'medizin' ), '1' => esc_html__( 'Show', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_hover_image', 'label' => esc_html__( 'Hover Image', 'medizin' ), 'description' => esc_html__( 'Turn on to show first gallery image when hover', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '1', 'choices' => array( '0' => esc_html__( 'None', 'medizin' ), '1' => esc_html__( 'Yes', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_thumbnail_background', 'label' => esc_html__( 'Product Image Has Background?', 'medizin' ), 'description' => esc_html__( 'If your product\'s feature image has background then turn on this option to make little spacing between button, badges with the image.', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '1', 'choices' => array( '0' => esc_html__( 'None', 'medizin' ), '1' => esc_html__( 'Yes', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_quick_view', 'label' => esc_html__( 'Quick View', 'medizin' ), 'description' => esc_html__( 'Turn on to display quick view button', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '0', 'choices' => array( '0' => esc_html__( 'Off', 'medizin' ), '1' => esc_html__( 'On', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_compare', 'label' => esc_html__( 'Compare', 'medizin' ), 'description' => esc_html__( 'Turn on to display compare button', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '1', 'choices' => array( '0' => esc_html__( 'Off', 'medizin' ), '1' => esc_html__( 'On', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_wishlist', 'label' => esc_html__( 'Wishlist', 'medizin' ), 'description' => esc_html__( 'Turn on to display love button', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '1', 'choices' => array( '0' => esc_html__( 'Off', 'medizin' ), '1' => esc_html__( 'On', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'radio-buttonset', 'settings' => 'shop_archive_hide_buttons_on_mobile', 'label' => esc_html__( 'Hide All Buttons on mobile', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => '1', 'choices' => array( '0' => esc_html__( 'No', 'medizin' ), '1' => esc_html__( 'Yes', 'medizin' ), ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'number', 'settings' => 'shop_archive_number_item', 'label' => esc_html__( 'Number items', 'medizin' ), 'description' => esc_html__( 'Controls the number of products display on shop archive page', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => 15, 'choices' => array( 'min' => 1, 'max' => 50, 'step' => 1, ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'custom', 'settings' => $prefix . 'group_title_' . $priority++, 'section' => $section, 'priority' => $priority++, 'default' => '<div class="big_title">' . esc_html__( 'Shop Columns', 'medizin' ) . '</div>', ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => 'shop_archive_lg_columns', 'label' => esc_html__( 'Large Device', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => 4, 'transport' => 'auto', 'choices' => array( 'min' => 0, 'max' => 6, 'step' => 1, ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => 'shop_archive_md_columns', 'label' => esc_html__( 'Medium Device', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => 3, 'transport' => 'auto', 'choices' => array( 'min' => 0, 'max' => 6, 'step' => 1, ), ) ); Medizin_Kirki::add_field( 'theme', array( 'type' => 'slider', 'settings' => 'shop_archive_sm_columns', 'label' => esc_html__( 'Small Device', 'medizin' ), 'section' => $section, 'priority' => $priority++, 'default' => 2, 'transport' => 'auto', 'choices' => array( 'min' => 0, 'max' => 6, 'step' => 1, ), ) );
Copyright ©2021 || Defacer Indonesia