tle' => 'تنظیمات دلخواه', 'menu_slug' => 'newkala-custom-options', 'parent_slug' => 'newkala-options', )); */ } $options_endpoint = array(); foreach ( wc_get_account_menu_items() as $endpoint => $label ){ $options_endpoint[] = array( 'key' => 'field_5d6b99e73dadb'.$endpoint, 'label' => 'آیکون ' .$label. ' را انتخاب کنید', 'name' => 'nk_'.$endpoint, 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ); } if( function_exists('acf_add_local_field_group') ): acf_add_local_field_group(array( 'key' => 'group_5d6b99ab57a70', 'title' => 'تنظمیات هدر', 'fields' => array( array( 'key' => 'field_5de692dhghgfhrthte8a389a', 'label' => 'چیدمان سربرگ هدر موبایلی', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5dexsdef45dfk598aa759', 'label' => 'شورت کد باکس راست هدر موبایلی', 'name' => 'shortcode-part-item-mobile-right', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'nk_ltr_text_dir', 'id' => '', ), 'default_value' => '[newkala_menu_icon_shop]', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5dexsddcff87524wds8aa759', 'label' => 'شورت کد باکس وسط هدر موبایلی', 'name' => 'shortcode-part-item-mobile-middle', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'nk_ltr_text_dir', 'id' => '', ), 'default_value' => '[newkala_logo_mobile]', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5dxssdcghbnyurtg1452a759', 'label' => 'شورت کد باکس چپ هدر موبایلی', 'name' => 'shortcode-part-item-mobile-left', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'nk_ltr_text_dir', 'id' => '', ), 'default_value' => '[newkala_icon_faq]', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5jfivslllscfrti787850f6', 'label' => 'برگه سوالات متداول را انتخاب کنید.', 'name' => 'faq_page_link', 'type' => 'page_link', 'instructions' => '', 'required' => 0, 'post_type' => array( 0 => 'page', ), 'taxonomy' => '', 'field_type' => 'select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, 'location' => array( array( array( 'param' => 'post_type', 'operator' => '==', 'value' => 'post', ), ), ), ), array( 'key' => 'field_5de6jhtgrthte8a389a', 'label' => 'تنظیم لوگوها', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6b99e73dadb', 'label' => 'لوگوی دسکتاپ', 'name' => 'logo', 'type' => 'image', 'instructions' => 'لوگوی وب سایت را با عرض حداکثر300 پیکسل و ارتفاع حداکثر100 پیکسل آپلود کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5ytjfgjh7575sedtgsdsdfsdfe', 'label' => 'لوگوی دسکتاپ و موبایل', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '

برای تغییر لوگوی دسکتاب به این منو مراجعه کنید و بر روی تب "هویت سایت" کلیک کنید: سفارشی سازی ', 'new_lines' => 'wpautop', 'esc_html' => 0, ), /* array( 'key' => 'field_5d6bafrdert28fd8', 'label' => 'تمپلت هدر سایت', 'name' => 'style_header_digikala', 'type' => 'radio', 'instructions' => 'تمپلت هدر سایت رو انتخاب کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'old_header_digikala' => 'تمپلت قدیم دیجی کالا', 'new_header_digikala' => 'تمپلت جدید دیجی کالا', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'old_header_digikala', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), */ array( 'key' => 'field_5d6ba6a7b6eaf', 'label' => 'بک گراند هدر سایت را مدیریت نمائید.', 'name' => 'background_header', 'type' => 'group', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'layout' => 'table', 'sub_fields' => array( array( 'key' => 'field_5d6ba843b6eb0', 'label' => 'رنگ پس زمینه', 'name' => 'background-color', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6ba860b6eb1', 'label' => 'تکرار تصویر پس زمینه', 'name' => 'background-repeat', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'no-repeat' => 'no-repeat', 'repeat' => 'repeat', 'repeat-x' => 'repeat-x', 'repeat-y' => 'repeat-y', 'inherit' => 'inherit', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6ba884b6eb2', 'label' => 'background-attachment', 'name' => 'background-attachment', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'Fixed' => 'Fixed', 'Scroll' => 'Scroll', 'Inherit' => 'Inherit', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 0, 'return_format' => 'value', 'ajax' => 0, 'placeholder' => '', ), array( 'key' => 'field_5d6ba8beb6eb4', 'label' => 'موقعیت بک گراند', 'name' => 'background-position', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'left top' => 'left top', 'left center' => 'left center', 'left bottom' => 'left bottom', 'center top' => 'center top', 'center center' => 'center center', 'center bottom' => 'center bottom', 'right top' => 'right top', 'right center' => 'right center', 'right bottom' => 'right bottom', ), 'default_value' => array( 0 => 'center center', ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6ba8ffb6eb5', 'label' => 'اندازه بک گراند', 'name' => 'background-size', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6ba90bb6eb6', 'label' => 'تصویر بک گراند', 'name' => 'background-image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'thumbnail', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), array( 'key' => 'field_5d6baa39d0d66', 'label' => 'بک گراند دکمه سرچ سایت', 'name' => 'background_button_search', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6baa73d0d68', 'label' => 'رنگ ذره بین دکمه سرچ', 'name' => 'before_button_search', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6baa80d0d69', 'label' => 'رنگ دکمه سبد خرید را انتخاب نمائید', 'name' => 'color_header_cart_button', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6baa93d0d6a', 'label' => 'رنگ کادر دکمه سبد خرید را انتخاب نمائید.', 'name' => 'border_color_header_cart_button', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6baaa4d0d6b', 'label' => 'بک گراند شماره تعداد محصولات سبد خرید', 'name' => 'background_cart_count', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6baab7d0d6c', 'label' => 'رنگ شماره تعداد محصولات سبد خرید', 'name' => 'color_cart_count', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6baacdd0d6d', 'label' => 'بک گراند دکمه ثبت سفارش مینی کارت هدر را انتخاب کنید.', 'name' => 'background_mini_cart_buttons', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6baae2d0d6e', 'label' => 'رنگ متن دکمه ثبت سفارش مینی کارت هدر را انتخاب نمائید.', 'name' => 'color_mini_cart_buttons', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), /* array( 'key' => 'field_5d6baaf1d0d6f', 'label' => 'بک گراند منوی اصلی', 'name' => 'full_width_main_menu', 'type' => 'color_picker', 'instructions' => 'بک گراند منوی اصلی وب سایت رو انتخاب نمائید. مابقی تنظیمات رنگ بندی منو رو میتونید از این لینک انجام بدید. پوسته مگامنو', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), */ ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-header-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array( 0 => 'permalink', 1 => 'the_content', 2 => 'excerpt', 3 => 'discussion', 4 => 'comments', 5 => 'revisions', 6 => 'slug', 7 => 'author', 8 => 'format', 9 => 'page_attributes', 10 => 'featured_image', 11 => 'categories', 12 => 'tags', 13 => 'send-trackbacks', ), 'active' => true, 'description' => '', )); $message = ''; if(defined('YITH_WCAS_PREMIUM')) $message .= '

بر روی وب سایت شما افزونه YITH WooCommerce Ajax Search Premium نصب و فعال میباشد. مادامی که این افزونه فعال باشد امکان استفاده از سیستم جستجوی قالب را ندارید.

'; $message .= 'سیستم جستجوی پیشرفته قالب
'; $message .= 'در وردپرس به صورت پیشفرض فقط در تیتر محصولات جستجو انجام میشود. اما در صورت تمایل میتوانید محدوده جستجوی قالب رو در این قسمت گسترش بدید و مدیریت کنید.'; if( is_admin() && defined( 'WC_PLUGIN_FILE' ) ){ $attribute_taxonomies = wc_get_attribute_taxonomies(); $attribiutes = array(); foreach($attribute_taxonomies as $attribute) $attribiutes['pa_'.$attribute->attribute_name] = $attribute->attribute_label; } acf_add_local_field_group(array( 'key' => 'group_5de68aaae4680', 'title' => 'تنظیمات جستجو', 'fields' => array( array( 'key' => 'field_5de692e8a389a', 'label' => 'محدوده جستجو', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5de68f2866b63', 'label' => '', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => $message, 'new_lines' => 'wpautop', 'esc_html' => 0, ), array( 'key' => 'field_5de68c468a0ad', 'label' => 'جستجو در توضیحات محصول', 'name' => 'search-content', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '', 'default_value' => 0, 'ui' => 1, 'ui_on_text' => '', 'ui_off_text' => '', ), array( 'key' => 'field_5de68ce58a0ae', 'label' => 'جستجو در ویژگی ها', 'name' => 'search-attribiutes', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '', 'default_value' => 0, 'ui' => 1, 'ui_on_text' => '', 'ui_off_text' => '', ), array( 'key' => 'field_5de68d1e8a0af', 'label' => 'انتخاب ویژگی ها برای جستجو', 'name' => 'search-choose-attribiuts', 'type' => 'checkbox', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5de68ce58a0ae', 'operator' => '==', 'value' => '1', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => @$attribiutes, 'allow_custom' => 0, 'default_value' => array( ), 'layout' => 'vertical', 'toggle' => 1, 'return_format' => 'value', 'save_custom' => 0, ), array( 'key' => 'field_5de696182d10c', 'label' => 'جستجو در دسته بندی محصولات', 'name' => 'search-product-cat', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '', 'default_value' => 0, 'ui' => 1, 'ui_on_text' => '', 'ui_off_text' => '', ), array( 'key' => 'field_5de696492d10d', 'label' => 'جستجو در برچسب محصولات', 'name' => 'search-product-tag', 'type' => 'true_false', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '', 'default_value' => 0, 'ui' => 1, 'ui_on_text' => '', 'ui_off_text' => '', ), array( 'key' => 'field_5de68e5666b61', 'label' => 'جستجو در شناسه محصول', 'name' => 'search-sku', 'type' => 'true_false', 'instructions' => 'اگر در محصولات خود از شناسه محصول استفاده میفرمائید در صورت تمایل میتوانید این گزینه رو فعال کنید. اگر برای محصولات شناسه محصول وارد نکرده اید این گزینه رو فعال نفرمائید تا سرعت جستجو بیشتر شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '', 'default_value' => 0, 'ui' => 1, 'ui_on_text' => '', 'ui_off_text' => '', ), array( 'key' => 'field_5de68e9a66b62', 'label' => 'جستجو در تیتر انگلیسی محصولات', 'name' => 'search-subtitle', 'type' => 'true_false', 'instructions' => 'اگر در محصولات خود از تیتر انگلیسی هم استفاده میفرمائید در صورت تمایل میتوانید این گزینه رو فعال کنید. اگر برای محصولات تیتر انگلیسی یا تیتر دوم وارد نکرده اید این گزینه رو فعال نفرمائید تا سرعت جستجو بیشتر شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '', 'default_value' => 0, 'ui' => 1, 'ui_on_text' => '', 'ui_off_text' => '', ), array( 'key' => 'field_5de69736f4dd0', 'label' => 'سفارشی سازی', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5de690201ff19', 'label' => 'تعداد کلمات قابل جستجو', 'name' => 'count-charecter', 'type' => 'range', 'instructions' => 'تعداد حرف هایی که باید کاربر در فیلد جستجو وارد کند تا عمل ایجکس جستجو شروع شود را تعیین نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 4, 'min' => 3, 'max' => 10, 'step' => '', 'prepend' => '', 'append' => 'کارکتر', ), array( 'key' => 'field_5de690d4758b9', 'label' => 'تعداد محصولات قابل نمایش', 'name' => 'search-count-product', 'type' => 'range', 'instructions' => 'حداکثر تعداد محصولاتی که مایل هستید در باکس جستجوی ایجکس نمایش داده شود را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 5, 'min' => 1, 'max' => 10, 'step' => '', 'prepend' => '', 'append' => 'محصول', ), array( 'key' => 'field_5de6916f758ba', 'label' => 'متن جستجوی ناموفق', 'name' => 'search-no-result', 'type' => 'textarea', 'instructions' => 'متنی را که مایل هستید جایگزین "موردی یافت نشد." شود را در این فیلد درج نمائید. میتوانید از تگ های html هم استفاده کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'موردی یافت نشد.', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5de69598aa759', 'label' => 'متن راهنمای فیلد جستجو', 'name' => 'search-hint-field', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'جستجو در محصولات ....', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5de696cff4dcf', 'label' => 'نمایش دسته بندی های مرتبط', 'name' => 'show-cat-match', 'type' => 'true_false', 'instructions' => 'اگر مایل هستید دسته بندی های مرتبط با کلمه جستجو شده در باکس نتایج ایجکس نمایش داده شود این گزینه رو فعال بفرمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '', 'default_value' => 1, 'ui' => 1, 'ui_on_text' => '', 'ui_off_text' => '', ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-search-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6be6b3ed0e2', 'title' => 'تنظیمات آرشیو محصولات', 'fields' => array( array( 'key' => 'field_5d6be70c9e4d6', 'label' => 'سفارشی سازی صفحه آرشیو مصحولات', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6be7459e4d7', 'label' => 'مرتب سازی بر اساس محصولات موجود و ناموجود', 'name' => 'orderby_istockstatus', 'type' => 'on-off', 'instructions' => 'اگر مایل هستید در صفحات اصلی و صفحات آرشیو محصولات ابتدا محصولات موجود و سپس محصولات ناموجود نمایش داده شوند این گزینه را فعال نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6be77d9e4d8', 'label' => 'نحوه نمایش ظاهری مرتب سازی', 'name' => 'newkala_type_sort_archive', 'type' => 'radio', 'instructions' => 'نحوه نمایش مرتب سازی در صفحات آرشیو را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'custom' => 'نمایش مانند دیجیکالا', 'default_woocommerce' => 'نمایش پیشفرض ووکامرس', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'custom', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d6be96f9e4d9', 'label' => 'ابزارک های فیلتر محصولات', 'name' => 'hidden_options_widget_filter', 'type' => 'on-off', 'instructions' => 'آیا میخواهید آپشن های ابزارک های فیلتر محصولات به صورت پیشفرض بسته باشند و با کلیک کاربر نمایش داده شوند؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6be9959e4da', 'label' => 'سایدبار چسبان', 'name' => 'disabled_sticky_sidebar', 'type' => 'on-off', 'instructions' => 'آیا مایل هستید سایدبار چسبان در صفحه فروشگاه و آرشیو مصحولات فعال شود. در صورتی که در صفحه فروشگاه و آرشیو مصحولات مشکل اسکرول دارید این گزینه را غیر فعال کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6be9sdfdffdaf9e4db', 'label' => 'نمایش دکمه افزودن به سبد خرید', 'name' => 'show_add_to_cart_archive', 'type' => 'on-off', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5d6be9d29e4dc', 'label' => 'لوگوی لودینگ', 'name' => 'loading_image', 'type' => 'image', 'instructions' => 'لوگوی لودینگ را در اینجا آپلود کنید. این لوگو هنگامی که کاربر بر روی یکی از آیتم های فیلتر ویژگی ها کلیک میکنه نمایش داده میشه.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6be9f19e4dd', 'label' => 'نحوه نمایش قیمت محصولات مغییر', 'name' => 'type_show_price_catalog', 'type' => 'radio', 'instructions' => 'نحوه نمایش قیمت محصولات متغییر در صفحات اصلی ، آرشیو و برگه فروشگاه', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'custom_price' => 'نمایش کمترین قیمت در محصولات متغییر در صفحات آرشیو و صفحه اصلی', 'woocommerce_price' => 'نمایش بیشترین و کمترین قیمت محصولات متغییر در صفحه اصلی و آرشیو محصولات', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'custom_price', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), /* array( 'key' => 'field_5d6bea4b9e4de', 'label' => 'رنگ بندی صفحه آرشیو محصولات', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), */ array( 'key' => 'field_5d6bea5b9e4df', 'label' => 'رنگ قیمت محصولات', 'name' => 'price_color_archive', 'type' => 'color_picker', 'instructions' => 'رنگ قیمت محصولات در صفحه آرشیو را انتخاب نمائید', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bea839e4e0', 'label' => 'بک گراند درصد تخیف محصولات', 'name' => 'background_on_sale', 'type' => 'color_picker', 'instructions' => 'بک گراند درصد تخیف محصولات در صحفه آرشیو را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bea9e9e4e1', 'label' => 'رنگ متن درصد تخفیف', 'name' => 'color_on_sale', 'type' => 'color_picker', 'instructions' => 'رنگ متن درصد تخفیف محصولات را در صفحه آرشیو انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6beab99e4e2', 'label' => 'بک گراند ترتیب نمایش', 'name' => 'background_orderby', 'type' => 'color_picker', 'instructions' => 'بک گراند ترتیب نمایش بر اساس را در صحفه آرشیو را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bead99e4e3', 'label' => 'رنگ متن آپشن های ترتیب نمایش', 'name' => 'color_orderby', 'type' => 'color_picker', 'instructions' => 'رنگ متن آپشن های ترتیب نمایش بر اساس را در صفحه آرشیو انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-catalog-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6be16cac49a', 'title' => 'تنظیمات بلاگ', 'fields' => array( array( 'key' => 'field_5d6b9fdgdfgfdgggfdgfd9d13dada', 'label' => 'لوگوی بلاگ', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6be17e4f0ef', 'label' => 'لوگوی صفحات بلاگ', 'name' => 'blog_logo', 'type' => 'image', 'instructions' => 'لوگوی صفحه بلاگ را با عرض حداکثر 280 و ارتفاع حداکثر 80 پیکسل آپلود کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6be1ca4f0f0', 'label' => 'بک گراند لوگو', 'name' => 'bg_blog_logo', 'type' => 'color_picker', 'instructions' => 'در صورت تمایل بک گراند لوگوی بلاگ را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6be26dfdfesddf4415a4f0f3', 'label' => 'لینک دلخواه برای لوگو', 'name' => 'replace_url_logo_blog', 'type' => 'url', 'instructions' => 'به صورت پیشفرض لینک لوگوی صفحه بلاگ به خود صفحه اصلی بلاگ هدایت میشود در صورت تمایل میتوانید لینک دیگری مانند صفحه اصلی رو در اینجا وارد کنید تا جایگزین این لینک شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6b9zxspb143513dada', 'label' => 'تنظمیات عمومی بلاگ', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6be1e64f0f1', 'label' => 'هشتگ های داغ', 'name' => 'blog_hot_hashtag', 'type' => 'taxonomy', 'instructions' => 'هشتگ های داغ را انتخاب کنید', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'post_tag', 'field_type' => 'multi_select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5d6be2444f0f2', 'label' => 'بنر عریض صفحه بلاگ', 'name' => 'wide_banner_blog', 'type' => 'image', 'instructions' => 'یک بنر با حداکثر عرض 1345 پیکسل و ارتفاع دلخواه آپلود کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6be26a4f0f3', 'label' => 'لینک بنر بالا', 'name' => 'wide_banner_blog_url', 'type' => 'url', 'instructions' => 'لینک بنر بالا را درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6be2984f0f4', 'label' => 'بنر کناری صفحه بلاگ', 'name' => 'side_banner_blog', 'type' => 'image', 'instructions' => 'یک بنر با حداکثر عرض 250 پیکسل و ارتفاع دلخواه آپلود کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6be2b74f0f5', 'label' => 'لینک بنر کناری صفحه بلاگ', 'name' => 'side_banner_blog_url', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6bzxsaokrf17814513dada', 'label' => 'نوشته های شبکه ای', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6be2cc4f0f6', 'label' => 'دسته های نوشته ها', 'name' => 'cats_post_gride', 'type' => 'taxonomy', 'instructions' => 'در صورت تمایل میتوانید در این قسمت دسته های نوشته ها را برای پست های شبکه ای انتخاب نمائید. در غیر اینصورت آخرین مطالب بلاگ شما نمایش داده خواهد شد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'category', 'field_type' => 'multi_select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5d6b99d13derfgg785uzada', 'label' => 'تنظیمات اسلایدر بلاگ', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6be3014f0f7', 'label' => 'اسلایدر پست ها در صفحه بلاگ', 'name' => 'show_slider_in_blog_page', 'type' => 'on-off', 'instructions' => 'آیا مایل هستید اسلایدر پست ها در صفحه بلاگ نمایش داده شود', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6be3264f0f8', 'label' => 'تیتر دلخواه', 'name' => 'title_slider_post_blog', 'type' => 'text', 'instructions' => 'در این قسمت میتوانید برای اسلایدر تمام عرض صفحه بلاگ تیتر دلخواه خود را وارد نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6be35f4f0f9', 'label' => 'دسته های نوشته ها', 'name' => 'cats_post_slider', 'type' => 'taxonomy', 'instructions' => 'در صورت تمایل میتوانید در این قسمت دسته های نوشته ها را برای پست های اسلایدر انتخاب نمائید. در غیر اینصورت آخرین مطالب بلاگ شما نمایش داده خواهد شد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'category', 'field_type' => 'multi_select', 'allow_null' => 0, 'add_term' => 1, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5d6be39d4f0fa', 'label' => 'تعداد نوشته', 'name' => 'number_post_slider', 'type' => 'range', 'instructions' => 'تعداد نوشته هایی رای که مایل هستید در اسلایدر نمایش داده شود را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 10, 'min' => 1, 'max' => 50, 'step' => 1, 'prepend' => '', 'append' => '', ), array( 'key' => 'field_5d6be3dc4f0fb', 'label' => 'تیتر دلخواه', 'name' => 'title_last_post_blog', 'type' => 'text', 'instructions' => 'تیتر دلخواه خود را برای بخش آخرین مطالب بلاگ درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6b13derfdxcvdsgg785uzada', 'label' => 'پابرگ بلاگ', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6qwbfder4sxdcds5f777b39e9', 'label' => 'برندهای فوتر', 'name' => 'footer_blog_brands', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5d6bf7swwsxfac5fb5', 'label' => 'تایتل', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_xdsxjmkwsxfac5fb5', 'label' => 'لینک', 'name' => 'link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6zasxswk9171c20e', 'label' => 'برند', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-blog-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array( 0 => 'permalink', 1 => 'the_content', 2 => 'excerpt', 3 => 'discussion', 4 => 'comments', 5 => 'revisions', 6 => 'slug', 7 => 'author', 8 => 'format', 9 => 'page_attributes', 10 => 'featured_image', 11 => 'categories', 12 => 'tags', 13 => 'send-trackbacks', ), 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6bf3d824b7e', 'title' => 'تنظیمات دکان', 'fields' => array( array( 'key' => 'field_5fad1bd40759b', 'label' => 'هدر پنل', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5faa58ee3ce37', 'label' => 'تیتر پنل', 'name' => 'title-panel-dokan', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'مرکز فروشندگان', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5faa5bd23794c', 'label' => 'لوگوی پنل', 'name' => 'logo-panel-dokan', 'type' => 'image', 'instructions' => 'یک لوگوی با حداکثر عرض 250 و حداکثر ارتفاع 40 پیکسل آپلود کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5fad1c080759c', 'label' => 'فوتر پنل', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5faa899bebd6b', 'label' => 'لوگوی فوتر پنل', 'name' => 'logo-footer-panel-dokan', 'type' => 'image', 'instructions' => 'یک لوگوی با حداکثر عرض 250 و حداکثر ارتفاع 40 پیکسل آپلود کنید. پیشنهاد میشوند که رنگ لوگو سفید باشد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5faa8ab7ebd6c', 'label' => 'آیتم های فوتر', 'name' => 'menu-items-footer-panel-dokan', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5faa8ae7ebd6d', 'label' => 'تیتر', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5faa8affebd6e', 'label' => 'لینک', 'name' => 'url', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), ), ), array( 'key' => 'field_5faa8c87d4723', 'label' => 'کپی رایت فوتر', 'name' => 'copyright-panel-dokan', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 0, 'delay' => 0, ), array( 'key' => 'field_5faa8d2386b3f', 'label' => 'کپی رایت انگلیسی', 'name' => 'copyright-en-panel-dokan', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'Copyright © 2018 - 2020 Newkalatheme.ir', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5fad1d7981ab9', 'label' => 'سایدبار', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5fad1f95fe9d9', 'label' => 'تعداد نمایش پست ها', 'name' => 'count-post-dokan-panel', 'type' => 'number', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 4, 'placeholder' => '', 'prepend' => '', 'append' => '', 'min' => 1, 'max' => 10, 'step' => 1, ), array( 'key' => 'field_5faa7a3e29311', 'label' => 'دسته های پست های سایدبار', 'name' => 'cats-post-panel-dokan', 'type' => 'taxonomy', 'instructions' => 'دسته هایی را که مایل هستید مطالب آنها در ساید بار پنل دکان نمایش داده شود را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'category', 'field_type' => 'select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5fad1dc881aba', 'label' => 'صفحه فروشنده', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5facfa5e6d081', 'label' => 'انتخاب استایل صفحه فروشنده', 'name' => 'nk-store-style', 'type' => 'radio', 'instructions' => 'در این قسمت شما میتوانید انتخاب کنید که استایل صفحه اختصاصی فروشنده به چه صورت باشد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'newkala' => 'تمپلت اختصاصی قالب', 'default' => 'پیشفرض دکان', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => '', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5fad0092cf66f', 'label' => 'تب های صفحه فروشنده', 'name' => 'store-tabs', 'type' => 'checkbox', 'instructions' => 'هر کدام از تب ها رو که مایل نیستید در صفحه فروشنده نمایش داده نشود را تیک بزنید تا غیر فعال شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'terms_and_conditions' => 'قوانین فروش', 'work_calendar' => 'تقویم کاری', 'reviews' => 'نظرات کاربران در مورد محصول یا فروشنده', 'vendor_biography' => 'بیوگرافی فروشنده', ), 'allow_custom' => 0, 'default_value' => array( ), 'layout' => 'vertical', 'toggle' => 0, 'return_format' => 'value', 'save_custom' => 0, ), array( 'key' => 'field_5fad1df381abb', 'label' => 'صفحه فروشندگان', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', 'endpoint' => 0, ), array( 'key' => 'field_5facfbe9a46e5', 'label' => 'انتخاب استایل صفحه فروشندگان', 'name' => 'nk-store-list-style', 'type' => 'radio', 'instructions' => 'در این قسمت شما میتوانید انتخاب کنید که استایل صفحه فروشندگان به چه صورت باشد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'newkala' => 'تمپلت اختصاصی قالب', 'default' => 'پیشفرض دکان', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'newkala', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5fad1e1881abc', 'label' => 'صفحه درج محصول', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5facfd87d6038', 'label' => 'انتخاب تعداد مراحل درج محصول', 'name' => 'nk-step-newproduct', 'type' => 'radio', 'instructions' => 'انتخاب کنید که درج محصول جدید به صورت دو مرحله ای باشد یا تک مرحله ای', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'one' => 'تک مرحله ای', 'two' => 'دو مرحله ای', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => '', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5fad1e3681abd', 'label' => 'تنظمیات', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5fad155ed0d17', 'label' => 'فیلدهای تنظمیات فروشگاه', 'name' => 'nk-store-fields', 'type' => 'checkbox', 'instructions' => 'فیلدهایی را که در تنظیمات فروشگاه مایل هستید نمایش داده نشود را تیک بزنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'dokan_banner' => 'آپلود بنر', 'nk_seller_id' => 'آیدی فروشنده', 'nk_first_name' => 'نام', 'nk_last_name' => 'نام خانوادگی', 'nk_gender' => 'جنسیت', 'nk_birthday_date' => 'تاریخ تولد', 'nk_nation_id' => 'کد ملی', 'nk_nation_id_old' => 'شماره شناسنامه', 'nk_faragir_id' => 'کد فراگیر اتباع', 'nk_passport_no' => 'شماره گذرنامه', 'nk_sales_by_tax' => 'مشمول مالیات', 'nk_about_seller' => 'درباره فروشنده', 'dokan_gravatar' => 'آپلود لوگو', 'dokan_store_tnc' => 'قوانین فروش', ), 'allow_custom' => 0, 'default_value' => array( ), 'layout' => 'vertical', 'toggle' => 0, 'return_format' => 'value', 'save_custom' => 0, ), array( 'key' => 'field_5fad0d046346f', 'label' => 'تب های تنظیمات فروشنده', 'name' => 'nk-tab-settings', 'type' => 'checkbox', 'instructions' => 'هر کدام از تب ها رو که مایل نیستید در صفحه تنظیمات فروشنده نمایش داده نشود را تیک بزنید تا غیر فعال شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'seller-info' => 'اطلاعات تماس و آدرس', 'doc-upload' => 'بارگذاری مدارک', 'work-calendar' => 'تقویم کاری', ), 'allow_custom' => 0, 'default_value' => array( ), 'layout' => 'vertical', 'toggle' => 0, 'return_format' => 'value', 'save_custom' => 0, ), array( 'key' => 'field_5fad0fa92503c', 'label' => 'فیلد آپلود مدارک', 'name' => 'required_docs', 'type' => 'checkbox', 'instructions' => 'هر کدام از فیلدها رو که مایل نیستید در صفحه تنظیمات فروشنده در بخش آپلود مدارک نمایش داده نشود را تیک بزنید تا غیر فعال شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'nk-nation-cart' => 'کارت ملی', 'nk-nation-cart-back' => 'تصویر پشت کارت ملی', 'nk-amayesh' => 'تصویر کارت آمایش اتباع خارجی', 'nk-passport' => 'تصویر گذرنامه', 'nk-passport-viza' => 'تصویر صفحه اقامت گذرنامه', 'nk-parvane-kar' => 'جواز کسب صنف مربوطه و یا شرکت مجاز', 'nk-parvane-digital' => 'پروانه ناشر یا پروانه نشر دیجیتال و یا مجوز کتاب از وزارت ارشاد و فرهنگ اسلامی', 'nk-parvane-samt' => 'مجوز وزارت صنعت و معدن', 'nk-arzesh-afzodeh' => 'آخرین تغییرات گواهینامه ارزش افزوده', ), 'allow_custom' => 0, 'default_value' => array( ), 'layout' => 'vertical', 'toggle' => 0, 'return_format' => 'value', 'save_custom' => 0, ), array( 'key' => 'field_5fad1e5681abe', 'label' => 'پیشخوان', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5fad1a8e61b0e', 'label' => 'پیام غیر فعال بودن فروشنده', 'name' => 'message_disable_seller', 'type' => 'wysiwyg', 'instructions' => 'هنگامی که وضعیت حساب کاربر فروشنده غیر فعال باشد این پیام را مشاهده خواهد کرد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'شما در صف انتظار تایید توسط مدیر سایت هستید. پس از تایید اطلاع رسانی خواهد شد.', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 0, 'delay' => 0, ), array( 'key' => 'field_5fad1b120caec', 'label' => 'لینک برای توضیحات بیشتر', 'name' => 'des_more_disable_seller', 'type' => 'text', 'instructions' => 'در صورتی که نیاز میباشد کاربر را برای توضیحات بیشتر یا درج اطلاعات خاصی مثل آپلود مدارک راهنمایی کنید لینک صفحه را در این فیلد وارد کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5fad1b540caed', 'label' => 'متن دکمه', 'name' => 'des_disable_seller', 'type' => 'text', 'instructions' => 'در صورتی که در فیلد بالا لینک درج کرده اید میتوانید برای آن متن دلخواه خود را وارد کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'اطلاعات بیشتر', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5fad1e7381abf', 'label' => 'بنر پیشخوان', 'name' => 'nk-dashboard-banner', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5fad1eac81ac0', 'label' => 'لینک بنر پیشخوان', 'name' => 'nk-dashboard-banner-link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5fad21aef6342', 'label' => 'تنظمیات متفرقه', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bf41dcc9d3', 'label' => 'فرم ثبت نام فروشنده', 'name' => 'remove_seller_form_in_register_woocommerce', 'type' => 'on-off', 'instructions' => 'آیا میخواهید فرم ثبت نام فروشنده در هنگام ثبت نام اولیه در ووکامرس غیر فعال شود. در صورت غیر فعال سازی این مورد کاربران میتوانند بعد از ثبت نام اولیه در سایت از پنل کاربری ووکامرس اقدام به فروشنده شدن نمایند. پیشنهاد میکنیم این گزینه را فعال داشته باشید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bf59f44dd2', 'label' => 'آیا میخواهید تب اطلاعات فروشنده در صفحه محصول غیر فعال شود؟', 'name' => 'not_display_seller_tab', 'type' => 'on-off', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5d6bf5b644dd3', 'label' => 'آیا میخواهید تب محصولات بیشتر فروشنده در صفحه محصول غیر فعال شود؟', 'name' => 'not_display_more_seller_product_tab', 'type' => 'on-off', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5d6bf5bfdedcwqo6dfedsw44dd3', 'label' => 'آیا مایل هستید فیلد تیتر انگلیسی در صفحه ویرایش محصول در پنل کاربری دکان نمایش داده شود.', 'name' => 'display_en_title_to_add_product_dokan', 'type' => 'on-off', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5d6bf5b6dfedsw44dd3', 'label' => 'آیا مایل هستید فیلدهای مربوط به گارانتی ، بسته بندی و ارسال در پنل دکان در بخش ویرایش محصول نمایش داد شود ؟', 'name' => 'display_fields_to_add_product_dokan', 'type' => 'on-off', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-dokan-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array( 0 => 'permalink', 1 => 'the_content', 2 => 'excerpt', 3 => 'discussion', 4 => 'comments', 5 => 'revisions', 6 => 'slug', 7 => 'author', 8 => 'format', 9 => 'page_attributes', 10 => 'featured_image', 11 => 'categories', 12 => 'tags', 13 => 'send-trackbacks', ), 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5sd15614b7e', 'title' => 'تنظمیات صفحه سوالات متداول', 'fields' => array( array( 'key' => 'field_5fiuey324', 'label' => 'تنظیمات دسته بندی', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5ddse3r437', 'label' => 'تیتر بخش دسته بندی ها', 'name' => 'title_faq_cat_box', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'دسته بندی پرسش ها', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5aazzxfd355ed', 'label' => 'دسته بندی ها', 'name' => 'faq_cats', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5qqfsd1e355ee', 'label' => 'تیتر', 'name' => 'title', 'type' => 'text', 'instructions' => 'در صورتی که تیتر انتخاب نشود، نام دسته بندی نمایش داده میشود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5qwswq787850f6', 'label' => 'دسته بندی ها', 'name' => 'faq_category', 'type' => 'taxonomy', 'instructions' => 'انتخاب دسته مورد نظر', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5drf2517155b0', 'operator' => '==', 'value' => 'last_products', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'faq_cat', 'field_type' => 'select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5xnscd3a355f0', 'label' => 'لوگو', 'name' => 'banner', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), array( 'key' => 'field_5tgijhr437', 'label' => 'تیتر پرتکرارترین پرسش‌ها', 'name' => 'title_frequently_asked_questions', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'پرتکرارترین پرسش‌ها', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'fafscdxazxfd355ed', 'label' => 'پر تکرارترین پرسش ها', 'name' => 'frequently_asked_questions', 'type' => 'repeater', 'instructions' => 'این سوالات در تمام صفحات تکرار میشود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5sdfd4e355ee', 'label' => 'آیدی پست سوال را وارد کنید.', 'name' => 'faq_post_id', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), ), ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-frequently-asked-answer-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array( 0 => 'permalink', 1 => 'the_content', 2 => 'excerpt', 3 => 'discussion', 4 => 'comments', 5 => 'revisions', 6 => 'slug', 7 => 'author', 8 => 'format', 9 => 'page_attributes', 10 => 'featured_image', 11 => 'categories', 12 => 'tags', 13 => 'send-trackbacks', ), 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6beeca744f4', 'title' => 'تنظیمات سبد خرید', 'fields' => array( array( 'key' => 'field_5d6beedc04151', 'label' => 'رنگ بک گراند دکمه ثبت سفارش', 'name' => 'background_button_to_checkout', 'type' => 'color_picker', 'instructions' => 'رنگ بک گراند دکمه رفتن به صفحه ثبت سفارش را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bef0d04152', 'label' => 'رنگ متن بک گراند دکمه ثبت سفارش', 'name' => 'color_button_to_checkout', 'type' => 'color_picker', 'instructions' => 'رنگ متن بک گراند دکمه رفتن به صفحه ثبت سفارش را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-cart-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6beb8120c8a', 'title' => 'تنظیمات شگفت انگیز', 'fields' => array( array( 'key' => 'field_5d6bec84e5575', 'label' => 'موجودی محصول شگفت انگیز', 'name' => 'remove_outofstock_from_slider', 'type' => 'on-off', 'instructions' => 'آیا میخواهید اگر موجودی محصول شگفت انگیز شده تمام شد از اسلایدر حذف شود؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6beccae5576', 'label' => 'متن اتمام موجودی', 'name' => 'inc_offers_slider_notavailable_txt', 'type' => 'text', 'instructions' => 'متنی را که مایل هستید هنگامی که یک محصول موجودی انبارش به اتمام رسید در اسلایدر نمایش داده شود.', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bed6bda9b1', 'operator' => '==', 'value' => '', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'پایان موجودی شگفت انگیز', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bed48da9b0', 'label' => 'تایم تخفیف شگفت انگیز', 'name' => 'remove_expired_from_slider', 'type' => 'on-off', 'instructions' => 'آیا مایل هستید هنگامی که تایم تخفیف شگفت انگیز منقضی شد و به پایان رسید از اسلایدر تخفیفات شگفت انگیز حذف شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bed6bda9b1', 'label' => 'زمان تخفیف به پایان رسیده است', 'name' => 'inc_offers_slider_finished_timer_txt', 'type' => 'text', 'instructions' => 'متنی را که مایل هستید برای محصولاتی که زمان تخفیف به پایان رسیده است نمایش داده شود را در این فیلد درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'پایان زمان پیشنهادات شگفت انگیز', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6beda1da9b2', 'label' => 'تایم تخفیف شروع نشده', 'name' => 'remove_not_started_from_slider', 'type' => 'on-off', 'instructions' => 'آیا مایل هستید محصولاتی که هنوز تایم تخفیف آنها شروع نشده است در اسلایدر حذف شوند؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bedf9da9b3', 'label' => 'تایم تخفیف شروع نشده', 'name' => 'inc_offers_slider_not_started_txt', 'type' => 'text', 'instructions' => 'متنی را که مایل هستید در اسلایدر تخفیفات شگفت انگیز برای محصولاتی که هنوز تایم تخفیف آنها شروع نشده است به کاربر نمایش داده شود را وارد نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'شروع سفارش به زودی', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bee2cda9b4', 'label' => 'متن دلخواه تایمر زمان باقی مانده تا پایان سفارش', 'name' => 'inc_offers_slider_time_to_end_txt', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'زمان باقی مانده تا پایان سفارش', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bee4cda9b5', 'label' => 'متن دلخواه تایمر زمان باقی مانده تا شروع سفارش', 'name' => 'inc_offers_slider_time_to_start_txt', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'زمان باقی مانده تا شروع سفارش', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-incredible-offer-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6bae6c46c72', 'title' => 'تنظیمات صفحه اصلی', 'fields' => array( array( 'key' => 'field_5d6bae9228fd7', 'label' => 'چیدمان صفحه اصلی', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5e18b55dda640', 'label' => 'انتخاب تمپلت بالایی صفحه اصلی', 'name' => 'top_index_template', 'type' => 'radio-image', 'instructions' => 'در این قسمت میتوانید چیدمان قدیم و جدید باکس های اولیه و سایدبار دیجی کالا رو انتخاب کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'short-sidebar' => NEWKALA_URI . '/images/short-sidebar.jpg', 'long-sidebar' => NEWKALA_URI . '/images/long-sidebar.jpg', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'long-sidebar', 'layout' => 'horizontal', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5dsxsdc14q789d28fd8', 'label' => 'نمایش سایدبار در حالت موبایلی', 'name' => 'show_sidebar_in_mobile', 'type' => 'on-off', 'instructions' => 'آیا میخواهید سایدبار کنار اسلایدر در صفحه اصلی در نمایش موبایلی نمایش داده شود؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'off', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d6baead28fd8', 'label' => 'موقعیت سایدبار صحفه اصلی', 'name' => 'top_content_layout', 'type' => 'radio', 'instructions' => 'انتخاب کنید که سایدبار در صفه اصلی در کدام سمت قرار بگیرد یا میتوانید انتخاب کنید که این سایدبار در صفحه اصلی نمایش داده نشود. این سایدبار در کنار اسلایدر اصلی نمایش داده خواهد شد.
محتوای این سایدبار را باید در بخش ابزارک ها قرار دهید و میتوانید ابزارک دلخواه خود را در این بخش نمایش دهید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'right_side' => 'سایدبار در سمت راست اسلایدر', 'left_side' => 'سایدبار در سمت چپ اسلایدر', 'wide' => 'سایدبار نمایش داده نشود.', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'right_side', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d6bb0eb155af', 'label' => 'باکس های صفحه اصلی', 'name' => 'content_box_index', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'row', 'button_label' => 'اضافه کردن یک باکس دیگر به صفحه اصلی', 'sub_fields' => array( array( 'key' => 'field_5d6bb147155b0', 'label' => 'نوع باکس محتوایی را انتخاب کنید', 'name' => 'type_box', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'divtype_box', 'id' => '', ), 'choices' => array( 'slider-n-banner' => 'اسلایدر سایت', 'slider-offers-n-icons' => 'اسلایدر تخفیفات شگفت انگیز', 'product_cat' => 'انتخاب اسلایدر دسته بندی', 'popular_products' => 'انتخاب اسلایدر محصولات پرفروش', 'banner' => 'بنر یا تصویر', 'shortcode' => 'شورت کد دلخواه', 'last_products' => 'اسلایدر آخرین محصولات و پیشنهاد لحظه ای', 'brands' => 'برند ها', 'post-slider' => 'اسلایدر مطالب بلاگ', 'icon-categories' => 'آیکون های دسته بندی', 'elementor_library' => 'سکشن المنتور', 'sellers' => 'اسلایدر فروشندگان', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6berfht87w850f6', 'label' => 'انتخاب سکشن المنتور', 'name' => 'section_elementor', 'type' => 'post_object', 'instructions' => 'در این قسمت میتوانید از سکشن هایی که قبلا در بخش قالب های المنتور ایجاد کرده اید انتخاب و نمایش دهید.', 'required' => 0, 'post_type' => array( 0 => 'elementor_library', ), 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'elementor_library', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => '', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, 'taxonomy' => '', 'multiple' => 0, 'return_format' => 'id', 'ui' => 1, ), array( 'key' => 'field_5d6be2787defrf850f6', 'label' => 'نوع نمایش اسلایدر را انتخاب نمائید.', 'name' => 'template-slider', 'type' => 'radio', 'instructions' => 'در اینجا میتوانید انتخاب کنید که باکس اسلایدر به صورت تمام عرض و همراه رنگ تصویر باشد یا به صورت باکس بندی شده.', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'slider-offers-n-icons', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'product_cat', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'popular_products', ), ), ), 'choices' => array( 'full' => 'تمام عرض', 'boxed' => 'باکس بندی', ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'boxed', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d6bexsfefsdgs87850f6', 'label' => 'بک گراند', 'name' => 'color_bg', 'type' => 'color_picker', 'instructions' => 'بک گراند اسلایدر را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'conditional_logic' => array( array( array( 'field' => 'field_5d6be2787defrf850f6', 'operator' => '==', 'value' => 'full', ), ), ), 'default_value' => '', ), array( 'key' => 'field_5d7021sdefgg8b19165', 'label' => 'آیکون اسلایدر', 'name' => 'icon_slider', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6be2787defrf850f6', 'operator' => '==', 'value' => 'full', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6be2787850f6', 'label' => 'دسته بندی ها', 'name' => 'cats_last_products', 'type' => 'taxonomy', 'instructions' => 'در صورت تمایل میتونید انتخاب کنید که محصولات در اسلایدر آخرین محصولات از چه دسته هایی لود بشن در غیر اینصورت آخرین محصولات نمایش داده میشن.', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'last_products', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'product_cat', 'field_type' => 'multi_select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5d6bb255155b1', 'label' => 'کد کوتاه دلخواه', 'name' => 'code_shortcode', 'type' => 'text', 'instructions' => 'شما میتوانید در این باکس شورت کد دلخواه خود را درج نمائید تا محتوای شورت کد نمایش داده شود.', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'shortcode', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bb370a8ee8', 'label' => 'انتخاب دسته بندی برای اسلایدر محصولات', 'name' => 'cat_id', 'type' => 'taxonomy', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'product_cat', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'popular_products', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'product_cat', 'field_type' => 'select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5d6bb37saswfd0a8ee8', 'label' => 'انتخاب دسته بندی برای اسلایدر شگفت انگیز', 'name' => 'off_cat_id', 'type' => 'taxonomy', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'slider-offers-n-icons', ), array( 'field' => 'field_5d6be2787defrf850f6', 'operator' => '==', 'value' => 'full', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'off_product_cat', 'field_type' => 'select', 'allow_null' => 1, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5d6bb42f37f80', 'label' => 'حداکثر نمایش محصولات', 'name' => 'num_post_product', 'type' => 'range', 'instructions' => 'حداکثر محصولاتی را که مایل هستید در اسلایدر ها نمایش داده شود را انتخاب کنید.', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'last_products', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'product_cat', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'popular_products', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'sellers', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 10, 'min' => 1, 'max' => 50, 'step' => 1, 'prepend' => '', 'append' => '', ), array( 'key' => 'field_5d6bcfaswrlb84677', 'label' => 'دکمه افزودن به سبد خرید', 'name' => 'show_add_to_cart_button', 'type' => 'on-off', 'instructions' => 'آیا میخواهید دکمه افزودن به سبد خرید در این اسلایدر نمایش داده شود؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'last_products', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'product_cat', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'popular_products', ), ), ), 'onoff' => 'off', ), array( 'key' => 'field_5dwsrepxcfdrlb84677', 'label' => 'اسلاید خودکار', 'name' => 'auto_slide', 'type' => 'radio', 'instructions' => 'آیا مایل هستید این اسلایدر به صورت اتوماتیک اسلاید شود؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'true' => 'بله', 'false' => 'خیر', ), 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'last_products', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'product_cat', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'popular_products', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'sellers', ), ), ), 'default_value' => 'false', ), array( 'key' => 'field_5dwsreghtghpxcfdrlb84677', 'label' => 'حلقه نامحدود', 'name' => 'loop', 'type' => 'radio', 'instructions' => 'آیا مایل هستید که اسلایدر به صورت حلقه نامحدود باشد؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'true' => 'بله', 'false' => 'خیر', ), 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'last_products', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'product_cat', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'popular_products', ), ), array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'sellers', ), ), ), 'default_value' => 'false', ), array( 'key' => 'field_5d6bwrlb84677', 'label' => 'نمایش باکس پیشنهاد لحظه ای', 'name' => 'show_suggestio_inlast', 'type' => 'on-off', 'instructions' => 'آیا مایل هستید در کنار اسلایدر آخرین محصولات باکس پیشنهاد لحظه ای هم نمایش داده شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'last_products', ), ), ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bb4f714baf', 'label' => 'تعداد بنرها', 'name' => 'count_banner_row', 'type' => 'radio', 'instructions' => 'تعداد بنرهایی را که مایل هستید برای این سطر آپلود کنید را مشخص نمائید.', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'one' => 'یک بنر', 'two' => 'دو بنر', 'four' => 'چهار بنر', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => '', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d70218b19165', 'label' => 'یک بنر آپلود کنید', 'name' => 'banner_address1', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d70222a19169', 'label' => 'لینک بنر بالایی را در صورت تمایل وارد کنید', 'name' => 'banner_url1', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d7021dd19166', 'label' => 'یک بنر آپلود کنید', 'name' => 'banner_address2', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d7022591916c', 'label' => 'لینک بنر بالایی را در صورت تمایل وارد کنید', 'name' => 'banner_url2', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d7021e119167', 'label' => 'یک بنر آپلود کنید', 'name' => 'banner_address3', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d7022581916b', 'label' => 'لینک بنر بالایی را در صورت تمایل وارد کنید', 'name' => 'banner_url3', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d7021e419168', 'label' => 'یک بنر آپلود کنید', 'name' => 'banner_address4', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d7022561916a', 'label' => 'لینک بنر بالایی را در صورت تمایل وارد کنید', 'name' => 'banner_url4', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'banner', ), ), ), 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5dwsrdfgfdgrgfddrlb54', 'label' => 'ترتیب نمایش فروشندگان', 'name' => 'filter_seller', 'type' => 'select', 'instructions' => 'نمایش فروشندگان بر اساس', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'new' => 'جدیدترین', 'featured' => 'ویژه', 'selling' => 'پرفروشترین', ), 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'sellers', ), ), ), 'default_value' => 'new', ), array( 'key' => 'field_5dwsvcfdfh458redb54', 'label' => 'تیتر اسلایدر', 'name' => 'title_slider', 'type' => 'text', 'instructions' => 'میتوانید برای اسلایدر یک تیتر دلخواه وارد نمائید', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'conditional_logic' => array( array( array( 'field' => 'field_5d6bb147155b0', 'operator' => '==', 'value' => 'sellers', ), ), ), 'default_value' => 'تیتر دلخواه اسلایدر', ), ), ), array( 'key' => 'field_5d6baesdedg489228fd7', 'label' => 'تنظیمات متفرقه', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bafb628fd9', 'label' => 'تگ html تیتر محصولات', 'name' => 'headign_element_html', 'type' => 'range', 'instructions' => 'در این قسمت میتوانید انتخاب کنید که تیتر محصولات در چه تگ هدینگی قرار گیرد.
انتخاب بین تگ h2 تا h6
این مورد برای سئوی سایت شما بسیار حائز اهمیت میباشد. در صورتی که اطلاعاتی در این مورد ندارید شماره دور را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 2, 'min' => 2, 'max' => 6, 'step' => 1, 'prepend' => '', 'append' => '', ), array( 'key' => 'field_5d6be257822872', 'label' => 'بنر بالایی صفحه اصلی', 'name' => 'top_banner_index', 'type' => 'image', 'instructions' => 'یک بنر با حداکثر عرض 1645 پیکسل و ارتفاع دلخواه آپلود کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6be7827869', 'label' => 'لینک بنر بالایی صفحه اصلی', 'name' => 'url_top_banner_index', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5de68c46xsecdgdf745218a0ad', 'label' => 'حذف محصولات ناموجود از اسلایدرهای صفحه اصلی', 'name' => 'hide_outofstock_inslider', 'type' => 'true_false', 'instructions' => 'آیا مایل هستید محصولات ناموجود در اسلایدر محصولات صفحه اصلی حذف شوند؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => '', 'default_value' => 0, 'ui' => 1, 'ui_on_text' => '', 'ui_off_text' => '', ), array( 'key' => 'field_5d6bb8d871863', 'label' => 'اسلایدر اصلی سایت در نسخه دسکتاپ', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bb8ff71864', 'label' => 'اسلایدر اصلی سایت در نسخه دسکتاپ', 'name' => 'slider', 'type' => 'repeater', /*'instructions' => 'تصاویر اسلایدر را در این قسمت بارگذاری کنید.

عرض تصاویر آپلودی 1840 پیکسل باشد.

اما محتوای اصلی در بخش میانی تصویر باشد که تقریبا1100 پیکسل هستش

ارتفاع تصاویر اسلایدر را 330پیکسل قرار بدید.

به طور مثال این تصویر رو ملاحظه بفرمائید.
تصویر نمونه برای اسلایدر',*/ 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5d6bb9faa8750', 'label' => 'تیتر', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bba24a8751', 'label' => 'لینک تصویر', 'name' => 'link', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6bba39a8752', 'label' => 'تصویر', 'name' => 'banner', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), array( 'key' => 'field_5d6bcf2c84675', 'label' => 'زمان تغییر هر اسلاید', 'name' => 'delay_index_slider', 'type' => 'range', 'instructions' => 'زمان تغییر هر اسلاید رو به ثانیه مشخص بفرمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 5, 'min' => 1, 'max' => 10, 'step' => 1, 'prepend' => '', 'append' => '', ), array( 'key' => 'field_5d6bcf9b84677', 'label' => 'حلقه اسلایدر', 'name' => 'loop_index_slider', 'type' => 'on-off', 'instructions' => 'آیا میخواهید تصاویر اسلایدر به صورت حلقه وار تکرار شوند.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5d6bcf5384676', 'label' => 'افکت تغییر هر اسلاید', 'name' => 'effect_index_slider', 'type' => 'select', 'instructions' => 'افکت تغییر هر اسلاید ، اسلایدر سایت را انتخاب کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'fade' => 'Fade', 'slide' => 'Slide', ), 'default_value' => array( 0 => 'fade', ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6bcedb84674', 'label' => 'اسلاید اتومات', 'name' => 'autoplay_index_slider', 'type' => 'on-off', 'instructions' => 'آیا میخواهید اسلایدر به صورت خودکار اسلاید شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5d6bbaf63c71b', 'label' => 'اسلایدر اصلی سایت در نسخه موبایل', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bbb4a3c71e', 'label' => 'اسلایدر اصلی سایت در نسخه موبایل', 'name' => 'mobile_slider', 'type' => 'repeater', 'instructions' => 'تصاویر اسلایدر را در این قسمت بارگذاری کنید.

عرض تصاویر آپلودی 500 پیکسل باشد.

ارتفاع تصاویر اسلایدر را300پیکسل قرار بدید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5d6bbb4a3c71f', 'label' => 'تیتر', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bbb4a3c720', 'label' => 'لینک تصویر', 'name' => 'link', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6bbb4a3c721', 'label' => 'تصویر', 'name' => 'banner', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), array( 'key' => 'field_5d6bcffcac7c1', 'label' => 'اسلاید خودکار', 'name' => 'mobile_autoplay_index_slider', 'type' => 'on-off', 'instructions' => 'آیا میخواهید اسلایدر به صورت خودکار اسلاید شود.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5d6bd030ac7c2', 'label' => 'افکت تغییر هر اسلاید', 'name' => 'mobile_effect_index_slider', 'type' => 'select', 'instructions' => 'افکت تغییر هر اسلاید ، اسلایدر سایت را انتخاب کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'fade' => 'Fade', 'slide' => 'Slide', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6bd063ac7c3', 'label' => 'حلقه اسلایدر', 'name' => 'mobile_loop_index_slider', 'type' => 'on-off', 'instructions' => 'آیا میخواهید تصاویر اسلایدر به صورت حلقه وار تکرار شوند.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5d6bd1119b3d0', 'label' => 'زمان تغییر هر اسلاید', 'name' => 'mobile_delay_index_slider', 'type' => 'range', 'instructions' => 'زمان تغییر هر اسلاید رو به ثانیه مشخص بفرمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 5, 'min' => 1, 'max' => 10, 'step' => 1, 'prepend' => '', 'append' => '', ), array( 'key' => 'field_5d6bd1681ae32', 'label' => 'آیکن های فروشگاهی (UPS)', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bd17f1ae33', 'label' => 'آیکون های صفحه اصلی ، فوتر و صفحه محصول', 'name' => 'short_link_by_icons', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5d6bd1951ae34', 'label' => 'تیتر', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bd1a61ae35', 'label' => 'لینک', 'name' => 'link', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6bd1bb1ae36', 'label' => 'آیکون', 'name' => 'icon', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'medium', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), array( 'key' => 'field_5d6bdsdfsd1f4dfgdfgdfgdgdf355ec', 'label' => 'باکس آیکون دسته بندیها', 'name' => '', 'type' => 'tab', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bdxszdcfer1a61ae35', 'label' => 'تیتر باکس', 'name' => 'title_box_icon_categories', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5sdfsdfsdfd6bdsdfsdfdsf1fd355ed', 'label' => 'دسته ها و آیکون ها', 'name' => 'box_icon_categories', 'type' => 'repeater', 'instructions' => 'اگر در فیلد فونت آیکون کلاس آیکون رو قرار دهید آیکون نمایش داده میشه و در غیر اینصورت تصویری که آپلود کردید نمایش داده میشه
برای دریافت نام کلاس فونت آیکون از لینک فونت آیکون 4 استفاده کنید. کلاس رو به صورت مثال به این صورت وارد کنید: fa-address-book', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5d6be2xdscfrti787850f6', 'label' => 'دسته بندی', 'name' => 'cat_id', 'type' => 'taxonomy', 'instructions' => '', 'required' => 0, 'taxonomy' => 'product_cat', 'field_type' => 'select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), array( 'key' => 'field_5d6bsxfdcvvcd21e355ee', 'label' => 'تیتر دلخواه دسته بندی', 'name' => 'title_cat', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6cdsxbd21e355ee', 'label' => 'درج تعداد محصول دلخواه', 'name' => 'title_product', 'type' => 'number', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bdzaxmjnjh23a355f0', 'label' => 'آیکون تصویری', 'name' => 'icon', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6bcdromjnh21e355ee', 'label' => 'فونت آیکون', 'name' => 'font_icon', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), ), ), array( 'key' => 'field_5d6bd1f4355ec', 'label' => 'برندها', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bd1fd355ed', 'label' => 'برندها', 'name' => 'brands', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5d6bd21e355ee', 'label' => 'تیتر', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bd22b355ef', 'label' => 'لینک', 'name' => 'link', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6bd23a355f0', 'label' => 'لوگو', 'name' => 'banner', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), /* array( 'key' => 'field_5d6bd290064f1', 'label' => 'سفارشی سازی', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'placement' => 'top', 'endpoint' => 0, ), array( 'key' => 'field_5d6bd29e064f2', 'label' => '', 'name' => '', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), */ array( 'key' => 'field_5d6bd2af064f5', 'label' => 'رنگ بندی باکس تخفیفات شگفت انگیز', 'name' => 'special_offer_theme', 'type' => 'color_picker', 'instructions' => 'رنگ بندی باکس تخفیفات شگفت انگیز را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bd2ae064f4', 'label' => 'بک گراند دکمه رفتن به همه تخفیفات', 'name' => 'go_to_all_products_offer', 'type' => 'color_picker', 'instructions' => 'بک گراند دکمه رفتن به همه تخفیفات رو انتخاب کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bd2ad064f3', 'label' => 'رنگ متن دکمه رفتن به همه تخفیفات', 'name' => 'color_go_to_all_products_offer', 'type' => 'color_picker', 'instructions' => 'رنگ متن دکمه رفتن به همه تخفیفات رو انتخاب کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bd310064f6', 'label' => 'رنگ قیمت محصولات', 'name' => 'color_price_index', 'type' => 'color_picker', 'instructions' => 'رنگ قیمت محصولات در صفحه اصلی را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-home-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6bd4fcd5472', 'title' => 'تنظیمات صفحه محصول', 'fields' => array( array( 'key' => 'field_5d6bd54889e80', 'label' => 'شخصی سازی صفحه محصول', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bfgrfgtdfrt4587d55d89e81', 'label' => 'نمایش دسته بندی محصول', 'name' => 'show_category_product', 'type' => 'radio', 'instructions' => 'در صورتی که نمایش فقط دسته اصلی رو انتخاب کنید این دسته ، دسته ای است که در صفحه ویرایش محصول به عنوان دسته اصلی انتخاب کرده اید خواهد بود. این امکان توسط افزونه yoast seo premium اضافه میشه.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'one' => 'نمایش فقط دسته اصلی', 'multiple' => 'نمایش همه دسته بندی های محصول', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'one', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d6bd55d89e81', 'label' => 'نحوه نمایش قیمت محصول متغییر', 'name' => 'show_price_for_variable_product', 'type' => 'radio', 'instructions' => 'نحوه نمایش قیمت محصول متغییر در صفحه محصول.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'none' => 'هنگامی که ویژگی های ضروری محصول انتخاب شد قیمت همان محصول انتخاب شده را نمایش بده و بیشترین و کمترین قیمت را نمایش نده.', 'block' => 'همیشه بیشترین و کمترین قیمت را نمایش بده', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'none', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d6bd5dgssrb889e82', 'label' => 'دکمه سبد خرید', 'name' => 'fixed_add_to_cart', 'type' => 'on-off', 'instructions' => 'در صورتی که میخواهید دکمه سبد خرید در گوشی به صورت چسبان در پایین صفحه نمایش داده شود این گزینه را فعال بفرمایید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', 'default_value' => 'on', ), array( 'key' => 'field_5d6bd5b889e82', 'label' => 'شناسه محصول', 'name' => 'display_sku', 'type' => 'on-off', 'instructions' => 'اگر میخواهید شناسه محصول در صفحه محصول نمایش داده شود این گزینه را فعال نمائید', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bd60589e83', 'label' => 'دسته بندی محصول', 'name' => 'display_product_cat', 'type' => 'on-off', 'instructions' => 'اگر میخواهید دسته بندی محصول در صفحه محصول نمایش داده شود این گزینه را فعال نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bd63289e86', 'label' => 'برچسب های محصول', 'name' => 'display_product_tag', 'type' => 'on-off', 'instructions' => 'اگر میخواهید برچسب های محصول در صفحه محصول نمایش داده شود این گزینه را فعال نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bd63189e85', 'label' => 'اسلایدر محصولات مرتبط', 'name' => 'display_related_product', 'type' => 'on-off', 'instructions' => 'اگر میخواهید اسلایدر محصولات مرتبط در صفحه محصول نمایش داده شود این گزینه را فعال نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bd68a89e87', 'label' => 'خلاصه محصول', 'name' => 'display_excerpt_product', 'type' => 'on-off', 'instructions' => 'اگر میخواهید خلاصه محصول در باکس توضیحات محصول نمایش داده شود این گزینه را فعال نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), array( 'key' => 'field_5d6bd5sderf4587bv5d89e81', 'label' => 'نحوه نمایش قیمت محصول متغییر', 'name' => 'location_related_product', 'type' => 'select', 'instructions' => 'محل نمایش محصولات مرتبط', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'bottom_tabs' => 'پائین تب های محصول', 'top_tabs' => 'بالای تب های محصول', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => 'top_tabs', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d6bd6a589e88', 'label' => 'تعداد نمایش محصولات مرتبط', 'name' => 'posts_per_page_related_product', 'type' => 'range', 'instructions' => 'تعداد حداکثر نمایش محصولات مرتبط', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 10, 'min' => 1, 'max' => 20, 'step' => 1, 'prepend' => '', 'append' => '', ), array( 'key' => 'field_5d6bd681458797', 'label' => 'دیدگاه های پیشرفته', 'name' => 'display_advanced_review', 'type' => 'on-off', 'instructions' => 'در صورتی که مایل هستید فیلدهای نقاط قوت و ضعف را در دیدگاه ها فعال نمائید این مورد را فعال نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5s453aa8cd', 'label' => 'متن اخطار در صفحه محصول', 'name' => 'product_page_warning_text', 'type' => 'wysiwyg', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 1, 'delay' => 0, ), /* array( 'key' => 'field_5d6bda8c68fa2', 'label' => 'رنگ بندی صفحه محصول', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'placement' => 'top', 'endpoint' => 0, ), */ array( 'key' => 'field_5d6bda9a68fa3', 'label' => 'رنگ بک گراند دکمه افزودن به سبد خرید صفحه محصول', 'name' => 'background_add_to_cart_button', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bdac368fa4', 'label' => 'رنگ متن دکمه افزودن به سبد خرید صفحه محصول', 'name' => 'color_add_to_cart_button', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bdae868fa5', 'label' => 'رنگ قیمت محصولات در صفحه محصول را انتخاب نمائید.', 'name' => 'single_color_price', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bdb2268fa6', 'label' => 'بک گراند تب اکتیو در تب های ووکامرس را انتخاب نمائید.', 'name' => 'background_active_tab_woo', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6bdb3f68fa7', 'label' => 'استایل کادر دکمه افزودن به سبد خرید در صفحه محصول', 'name' => 'border_add_to_cart_button', 'type' => 'group', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'layout' => 'table', 'sub_fields' => array( array( 'key' => 'field_5d6bdb5c68fa8', 'label' => 'عرض', 'name' => 'width', 'type' => 'number', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 1, 'placeholder' => '', 'prepend' => '', 'append' => '', 'min' => 1, 'max' => 10, 'step' => '', ), array( 'key' => 'field_5d6bdbbd68fa9', 'label' => 'استاندارد کادر', 'name' => 'unit', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'px' => 'px', '%' => '%', 'em' => 'em', 'pt' => 'pt', ), 'default_value' => array( 0 => 'px', ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6bdc1768faa', 'label' => 'استایل کادر', 'name' => 'style', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'dashed' => 'Dashed', 'solid' => 'Solid', 'double' => 'Double', 'groove' => 'Groove', 'ridge' => 'Ridge', 'inset' => 'Inset', 'outset' => 'Outset', ), 'default_value' => array( 0 => 'solid', ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6bdcb468fab', 'label' => 'رنگ', 'name' => 'color', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), ), ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-single-product-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array( 0 => 'permalink', 1 => 'the_content', 2 => 'excerpt', 3 => 'discussion', 4 => 'comments', 5 => 'revisions', 6 => 'slug', 7 => 'author', 8 => 'format', 9 => 'page_attributes', 10 => 'featured_image', 11 => 'categories', 12 => 'tags', 13 => 'send-trackbacks', ), 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6b7d760ee3d', 'title' => 'تنظیمات عمومی', 'fields' => array( array( 'key' => 'field_5d6b7dd99074e', 'label' => 'فیوآیکون ها', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5ytjfgjh75687878768575sedtgsdsdfsdfe', 'label' => 'لوگوی دسکتاپ و موبایل', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => ' برای تغییر نمادک سایت به این منو مراجعه کنید و بر روی تب "هویت سایت" کلیک کنید: سفارشی سازی ', 'new_lines' => 'wpautop', 'esc_html' => 0, ), /* array( 'key' => 'field_5d6b7e139074f', 'label' => 'فیوآیکون با عرض و ارتفاع 16x16', 'name' => 'favicon_16x16', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f14579d5', 'label' => 'فیوآیکون با عرض و ارتفاع 32x32', 'name' => 'favicon_32x32', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f14579d4', 'label' => 'فیوآیکون با عرض و ارتفاع 96x96', 'name' => 'favicon_96x96', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f13579d3', 'label' => 'فیوآیکون با عرض و ارتفاع 57x57', 'name' => 'favicon_57x57', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f12579d2', 'label' => 'فیوآیکون با عرض و ارتفاع 114x144', 'name' => 'favicon_114x114', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f12579d1', 'label' => 'فیوآیکون با عرض و ارتفاع 72x72', 'name' => 'favicon_72x72', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f11579d0', 'label' => 'فیوآیکون با عرض و ارتفاع 144x144', 'name' => 'favicon_144x144', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f10579cf', 'label' => 'فیوآیکون با عرض و ارتفاع 60x60', 'name' => 'favicon_60x60', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f10579ce', 'label' => 'فیوآیکون با عرض و ارتفاع 120x120', 'name' => 'favicon_120x120', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7f0f579cd', 'label' => 'فیوآیکون با عرض و ارتفاع 76x76', 'name' => 'favicon_76x76', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6b7ef3579cc', 'label' => 'فیوآیکون با عرض و ارتفاع 152x152', 'name' => 'favicon_152x152', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), */ array( 'key' => 'field_5d6b80f70dc96', 'label' => 'CSS و JS دلخواه', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6b81440dc97', 'label' => 'استایل دلخواه', 'name' => 'css', 'type' => 'acf_code_field', 'instructions' => 'کدهای سی اس اس مورد نظر خود را در این باکس درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'mode' => 'css', 'theme' => 'eclipse', ), array( 'key' => 'field_5d6b82181ed10', 'label' => 'جاوا اسکریپت', 'name' => 'script', 'type' => 'acf_code_field', 'instructions' => 'کدهای جاوا اسکریپت خود را در این باکس درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'mode' => 'javascript', 'theme' => 'eclipse', ), array( 'key' => 'field_5d6b8443cb93c', 'label' => 'گوگل آنالیتیکز', 'name' => 'analytics', 'type' => 'acf_code_field', 'instructions' => 'کد سایت گوگل آنالیتیکز را در این باکس درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'mode' => 'javascript', 'theme' => 'eclipse', ), array( 'key' => 'field_5d6b8487cb93d', 'label' => 'رنگ بندی عمومی قالب', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'top', 'endpoint' => 0, ), array( 'key' => 'field_5d6b45873f067', 'label' => 'رنگ آدرس بار', 'name' => 'theme-color-chrome', 'type' => 'color_picker', 'instructions' => 'در این قسمت میتوانید تعیین کنید رنگ آدرس بار مرورگر کروم در ابزارهای موبایلی به چه صورت باشد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6b84a7cb93e', 'label' => 'بک گراند قالب', 'name' => 'background_body', 'type' => 'group', 'instructions' => 'بک گراند بدنه اصلی قالب را مدیریت نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => 'hidden_in_version_49', 'id' => '', ), 'layout' => 'table', 'sub_fields' => array( array( 'key' => 'field_5d6b8609a4021', 'label' => 'رنگ پس زمینه', 'name' => 'background-color', 'type' => 'color_picker', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6b8642a4022', 'label' => 'تکرار تصویر پس زمینه', 'name' => 'background-repeat', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'no-repeat' => 'no-repeat', 'repeat' => 'repeat', 'repeat-x' => 'repeat-x', 'repeat-y' => 'repeat-y', 'inherit' => 'inherit', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6b8a9037657', 'label' => 'background-attachment', 'name' => 'background-attachment', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'Fixed' => 'Fixed', 'Scroll' => 'Scroll', 'Inherit' => 'Inherit', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6b8b3310157', 'label' => 'موقعیت بک گراند', 'name' => 'background-position', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'left top' => 'left top', 'left center' => 'left center', 'left bottom' => 'left bottom', 'center top' => 'center top', 'center center' => 'center center', 'center bottom' => 'center bottom', 'right top' => 'right top', 'right center' => 'right center', 'right bottom' => 'right bottom', ), 'default_value' => array( ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 1, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), array( 'key' => 'field_5d6b8ba610158', 'label' => 'اندازه بک گراند', 'name' => 'background-size', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6b8bd710159', 'label' => 'تصویر بک گراند', 'name' => 'background-image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'thumbnail', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), array( 'key' => 'field_5d6b8c5e5f067', 'label' => 'رنگ متن لینک ها', 'name' => 'color_links_post', 'type' => 'color_picker', 'instructions' => 'رنگ متن لینک ها در محتوای برگه ها و محصولات و نوشته ها را مشخص نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6b8c975f068', 'label' => 'رنگ هاور لینک ها', 'name' => 'color_links_post_hover', 'type' => 'color_picker', 'instructions' => 'رنگ هاور متن لینک ها در محتوای برگه ها و محصولات و نوشته ها را مشخص نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', ), array( 'key' => 'field_5d6b8cde4c36e', 'label' => 'تنظیمات فونت', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6b8d004c36f', 'label' => 'فونت قالب', 'name' => 'general_font', 'type' => 'radio', 'instructions' => 'فونت عمومی قالب را انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( 'IRANYekan-fa' => 'ایران یکان با اعداد فارسی', 'iranyekan-en' => 'ایران یکان با عداد انگلیسی', 'IRANSans-fa' => 'ایران سنس با اعداد فارسی', 'IRANSans-en' => 'ایران سنس با اعداد انگلیسی', ), 'allow_null' => 0, 'other_choice' => 0, 'default_value' => '', 'layout' => 'vertical', 'return_format' => 'value', 'save_other_choice' => 0, ), array( 'key' => 'field_5d6b8df7ee764', 'label' => 'گوگل فونت', 'name' => 'template_google_font', 'type' => 'select', 'instructions' => 'فونت گوگل برای نسخه چندزبانه قالب

در صورتی که از افزونه wpml برای چند زبانه کردن قالب استفاده کرده اید میتوانید در این قسمت برای هر زبان یک فونت دلخواه انتخاب نمائید.', 'required' => 0, 'conditional_logic' => 0, 'default_value' => '0', 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array( "0" => "فونت پیشفرض", "Georgia, serif" => "Georgia, serif", "Palatino Linotype, Book Antiqua, Palatino, serif" => "Palatino Linotype", "Times New Roman, Times, serif" => "Times New Roman", "Arial, Helvetica, sans-serif" => "Arial, Helvetica", "Arial Black, Gadget, sans-serif" => "Arial Black, Gadget", "Comic Sans MS, cursive, sans-serif" => "Comic Sans MS", "Impact, Charcoal, sans-serif" => "Impact, Charcoal", "Lucida Sans Unicode, Lucida Grande, sans-serif" => "Lucida Sans Unicode", "Tahoma, Geneva, sans-serif" => "Tahoma, Geneva", "Trebuchet MS, Helvetica, sans-serif" => "Trebuchet MS", "Verdana, Geneva, sans-serif" => "Verdana", "Courier New, Courier, monospace" => "Courier New", "Lucida Console, Monaco, monospace" => "Lucida Console", "ABeeZee" => "ABeeZee", "Abel" => "Abel", "Abhaya Libre" => "Abhaya Libre", "Abril Fatface" => "Abril Fatface", "Aclonica" => "Aclonica", "Acme" => "Acme", "Actor" => "Actor", "Adamina" => "Adamina", "Advent Pro" => "Advent Pro", "Aguafina Script" => "Aguafina Script", "Akronim" => "Akronim", "Aladin" => "Aladin", "Aldrich" => "Aldrich", "Alef" => "Alef", "Alegreya" => "Alegreya", "Alegreya SC" => "Alegreya SC", "Alegreya Sans" => "Alegreya Sans", "Alegreya Sans SC" => "Alegreya Sans SC", "Alex Brush" => "Alex Brush", "Alfa Slab One" => "Alfa Slab One", "Alice" => "Alice", "Alike" => "Alike", "Alike Angular" => "Alike Angular", "Allan" => "Allan", "Allerta" => "Allerta", "Allerta Stencil" => "Allerta Stencil", "Allura" => "Allura", "Almendra" => "Almendra", "Almendra Display" => "Almendra Display", "Almendra SC" => "Almendra SC", "Amarante" => "Amarante", "Amaranth" => "Amaranth", "Amatic SC" => "Amatic SC", "Amatica SC" => "Amatica SC", "Amethysta" => "Amethysta", "Amiko" => "Amiko", "Amiri" => "Amiri", "Amita" => "Amita", "Anaheim" => "Anaheim", "Andada" => "Andada", "Andika" => "Andika", "Angkor" => "Angkor", "Annie Use Your Telescope" => "Annie Use Your Telescope", "Anonymous Pro" => "Anonymous Pro", "Antic" => "Antic", "Antic Didone" => "Antic Didone", "Antic Slab" => "Antic Slab", "Anton" => "Anton", "Arapey" => "Arapey", "Arbutus" => "Arbutus", "Arbutus Slab" => "Arbutus Slab", "Architects Daughter" => "Architects Daughter", "Archivo" => "Archivo", "Archivo Black" => "Archivo Black", "Archivo Narrow" => "Archivo Narrow", "Aref Ruqaa" => "Aref Ruqaa", "Arima Madurai" => "Arima Madurai", "Arimo" => "Arimo", "Arizonia" => "Arizonia", "Armata" => "Armata", "Arsenal" => "Arsenal", "Artifika" => "Artifika", "Arvo" => "Arvo", "Arya" => "Arya", "Asap" => "Asap", "Asap Condensed" => "Asap Condensed", "Asar" => "Asar", "Asset" => "Asset", "Assistant" => "Assistant", "Astloch" => "Astloch", "Asul" => "Asul", "Athiti" => "Athiti", "Atma" => "Atma", "Atomic Age" => "Atomic Age", "Aubrey" => "Aubrey", "Audiowide" => "Audiowide", "Autour One" => "Autour One", "Average" => "Average", "Average Sans" => "Average Sans", "Averia Gruesa Libre" => "Averia Gruesa Libre", "Averia Libre" => "Averia Libre", "Averia Sans Libre" => "Averia Sans Libre", "Averia Serif Libre" => "Averia Serif Libre", "Bad Script" => "Bad Script", "Bahiana" => "Bahiana", "Baloo" => "Baloo", "Baloo Bhai" => "Baloo Bhai", "Baloo Bhaijaan" => "Baloo Bhaijaan", "Baloo Bhaina" => "Baloo Bhaina", "Baloo Chettan" => "Baloo Chettan", "Baloo Da" => "Baloo Da", "Baloo Paaji" => "Baloo Paaji", "Baloo Tamma" => "Baloo Tamma", "Baloo Tammudu" => "Baloo Tammudu", "Baloo Thambi" => "Baloo Thambi", "Balthazar" => "Balthazar", "Bangers" => "Bangers", "Barrio" => "Barrio", "Basic" => "Basic", "Battambang" => "Battambang", "Baumans" => "Baumans", "Bayon" => "Bayon", "Belgrano" => "Belgrano", "Bellefair" => "Bellefair", "Belleza" => "Belleza", "BenchNine" => "BenchNine", "Bentham" => "Bentham", "Berkshire Swash" => "Berkshire Swash", "Bevan" => "Bevan", "Bigelow Rules" => "Bigelow Rules", "Bigshot One" => "Bigshot One", "Bilbo" => "Bilbo", "Bilbo Swash Caps" => "Bilbo Swash Caps", "BioRhyme" => "BioRhyme", "BioRhyme Expanded" => "BioRhyme Expanded", "Biryani" => "Biryani", "Bitter" => "Bitter", "Black Ops One" => "Black Ops One", "Bokor" => "Bokor", "Bonbon" => "Bonbon", "Boogaloo" => "Boogaloo", "Bowlby One" => "Bowlby One", "Bowlby One SC" => "Bowlby One SC", "Brawler" => "Brawler", "Bree Serif" => "Bree Serif", "Bubblegum Sans" => "Bubblegum Sans", "Bubbler One" => "Bubbler One", "Buda" => "Buda", "Buenard" => "Buenard", "Bungee" => "Bungee", "Bungee Hairline" => "Bungee Hairline", "Bungee Inline" => "Bungee Inline", "Bungee Outline" => "Bungee Outline", "Bungee Shade" => "Bungee Shade", "Butcherman" => "Butcherman", "Butterfly Kids" => "Butterfly Kids", "Cabin" => "Cabin", "Cabin Condensed" => "Cabin Condensed", "Cabin Sketch" => "Cabin Sketch", "Caesar Dressing" => "Caesar Dressing", "Cagliostro" => "Cagliostro", "Cairo" => "Cairo", "Calligraffitti" => "Calligraffitti", "Cambay" => "Cambay", "Cambo" => "Cambo", "Candal" => "Candal", "Cantarell" => "Cantarell", "Cantata One" => "Cantata One", "Cantora One" => "Cantora One", "Capriola" => "Capriola", "Cardo" => "Cardo", "Carme" => "Carme", "Carrois Gothic" => "Carrois Gothic", "Carrois Gothic SC" => "Carrois Gothic SC", "Carter One" => "Carter One", "Catamaran" => "Catamaran", "Caudex" => "Caudex", "Caveat" => "Caveat", "Caveat Brush" => "Caveat Brush", "Cedarville Cursive" => "Cedarville Cursive", "Ceviche One" => "Ceviche One", "Changa" => "Changa", "Changa One" => "Changa One", "Chango" => "Chango", "Chathura" => "Chathura", "Chau Philomene One" => "Chau Philomene One", "Chela One" => "Chela One", "Chelsea Market" => "Chelsea Market", "Chenla" => "Chenla", "Cherry Cream Soda" => "Cherry Cream Soda", "Cherry Swash" => "Cherry Swash", "Chewy" => "Chewy", "Chicle" => "Chicle", "Chivo" => "Chivo", "Chonburi" => "Chonburi", "Cinzel" => "Cinzel", "Cinzel Decorative" => "Cinzel Decorative", "Clicker Script" => "Clicker Script", "Coda" => "Coda", "Coda Caption" => "Coda Caption", "Codystar" => "Codystar", "Coiny" => "Coiny", "Combo" => "Combo", "Comfortaa" => "Comfortaa", "Coming Soon" => "Coming Soon", "Concert One" => "Concert One", "Condiment" => "Condiment", "Content" => "Content", "Contrail One" => "Contrail One", "Convergence" => "Convergence", "Cookie" => "Cookie", "Copse" => "Copse", "Corben" => "Corben", "Cormorant" => "Cormorant", "Cormorant Garamond" => "Cormorant Garamond", "Cormorant Infant" => "Cormorant Infant", "Cormorant SC" => "Cormorant SC", "Cormorant Unicase" => "Cormorant Unicase", "Cormorant Upright" => "Cormorant Upright", "Courgette" => "Courgette", "Cousine" => "Cousine", "Coustard" => "Coustard", "Covered By Your Grace" => "Covered By Your Grace", "Crafty Girls" => "Crafty Girls", "Creepster" => "Creepster", "Crete Round" => "Crete Round", "Crimson Text" => "Crimson Text", "Croissant One" => "Croissant One", "Crushed" => "Crushed", "Cuprum" => "Cuprum", "Cutive" => "Cutive", "Cutive Mono" => "Cutive Mono", "Damion" => "Damion", "Dancing Script" => "Dancing Script", "Dangrek" => "Dangrek", "David Libre" => "David Libre", "Dawning of a New Day" => "Dawning of a New Day", "Days One" => "Days One", "Dekko" => "Dekko", "Delius" => "Delius", "Delius Swash Caps" => "Delius Swash Caps", "Delius Unicase" => "Delius Unicase", "Della Respira" => "Della Respira", "Denk One" => "Denk One", "Devonshire" => "Devonshire", "Dhurjati" => "Dhurjati", "Didact Gothic" => "Didact Gothic", "Diplomata" => "Diplomata", "Diplomata SC" => "Diplomata SC", "Domine" => "Domine", "Donegal One" => "Donegal One", "Doppio One" => "Doppio One", "Dorsa" => "Dorsa", "Dosis" => "Dosis", "Dr Sugiyama" => "Dr Sugiyama", "Droid Sans" => "Droid Sans", "Droid Sans Mono" => "Droid Sans Mono", "Droid Serif" => "Droid Serif", "Duru Sans" => "Duru Sans", "Dynalight" => "Dynalight", "EB Garamond" => "EB Garamond", "Eagle Lake" => "Eagle Lake", "Eater" => "Eater", "Economica" => "Economica", "Eczar" => "Eczar", "El Messiri" => "El Messiri", "Electrolize" => "Electrolize", "Elsie" => "Elsie", "Elsie Swash Caps" => "Elsie Swash Caps", "Emblema One" => "Emblema One", "Emilys Candy" => "Emilys Candy", "Encode Sans" => "Encode Sans", "Encode Sans Condensed" => "Encode Sans Condensed", "Encode Sans Expanded" => "Encode Sans Expanded", "Encode Sans Semi Condensed" => "Encode Sans Semi Condensed", "Encode Sans Semi Expanded" => "Encode Sans Semi Expanded", "Engagement" => "Engagement", "Englebert" => "Englebert", "Enriqueta" => "Enriqueta", "Erica One" => "Erica One", "Esteban" => "Esteban", "Euphoria Script" => "Euphoria Script", "Ewert" => "Ewert", "Exo" => "Exo", "Exo 2" => "Exo 2", "Expletus Sans" => "Expletus Sans", "Fanwood Text" => "Fanwood Text", "Farsan" => "Farsan", "Fascinate" => "Fascinate", "Fascinate Inline" => "Fascinate Inline", "Faster One" => "Faster One", "Fasthand" => "Fasthand", "Fauna One" => "Fauna One", "Faustina" => "Faustina", "Federant" => "Federant", "Federo" => "Federo", "Felipa" => "Felipa", "Fenix" => "Fenix", "Finger Paint" => "Finger Paint", "Fira Mono" => "Fira Mono", "Fira Sans" => "Fira Sans", "Fira Sans Condensed" => "Fira Sans Condensed", "Fira Sans Extra Condensed" => "Fira Sans Extra Condensed", "Fjalla One" => "Fjalla One", "Fjord One" => "Fjord One", "Flamenco" => "Flamenco", "Flavors" => "Flavors", "Fondamento" => "Fondamento", "Fontdiner Swanky" => "Fontdiner Swanky", "Forum" => "Forum", "Francois One" => "Francois One", "Frank Ruhl Libre" => "Frank Ruhl Libre", "Freckle Face" => "Freckle Face", "Fredericka the Great" => "Fredericka the Great", "Fredoka One" => "Fredoka One", "Freehand" => "Freehand", "Fresca" => "Fresca", "Frijole" => "Frijole", "Fruktur" => "Fruktur", "Fugaz One" => "Fugaz One", "GFS Didot" => "GFS Didot", "GFS Neohellenic" => "GFS Neohellenic", "Gabriela" => "Gabriela", "Gafata" => "Gafata", "Galada" => "Galada", "Galdeano" => "Galdeano", "Galindo" => "Galindo", "Gentium Basic" => "Gentium Basic", "Gentium Book Basic" => "Gentium Book Basic", "Geo" => "Geo", "Geostar" => "Geostar", "Geostar Fill" => "Geostar Fill", "Germania One" => "Germania One", "Gidugu" => "Gidugu", "Gilda Display" => "Gilda Display", "Give You Glory" => "Give You Glory", "Glass Antiqua" => "Glass Antiqua", "Glegoo" => "Glegoo", "Gloria Hallelujah" => "Gloria Hallelujah", "Goblin One" => "Goblin One", "Gochi Hand" => "Gochi Hand", "Gorditas" => "Gorditas", "Goudy Bookletter 1911" => "Goudy Bookletter 1911", "Graduate" => "Graduate", "Grand Hotel" => "Grand Hotel", "Gravitas One" => "Gravitas One", "Great Vibes" => "Great Vibes", "Griffy" => "Griffy", "Gruppo" => "Gruppo", "Gudea" => "Gudea", "Gurajada" => "Gurajada", "Habibi" => "Habibi", "Halant" => "Halant", "Hammersmith One" => "Hammersmith One", "Hanalei" => "Hanalei", "Hanalei Fill" => "Hanalei Fill", "Handlee" => "Handlee", "Hanuman" => "Hanuman", "Happy Monkey" => "Happy Monkey", "Harmattan" => "Harmattan", "Headland One" => "Headland One", "Heebo" => "Heebo", "Henny Penny" => "Henny Penny", "Herr Von Muellerhoff" => "Herr Von Muellerhoff", "Hind" => "Hind", "Hind Guntur" => "Hind Guntur", "Hind Madurai" => "Hind Madurai", "Hind Siliguri" => "Hind Siliguri", "Hind Vadodara" => "Hind Vadodara", "Holtwood One SC" => "Holtwood One SC", "Homemade Apple" => "Homemade Apple", "Homenaje" => "Homenaje", "IM Fell DW Pica" => "IM Fell DW Pica", "IM Fell DW Pica SC" => "IM Fell DW Pica SC", "IM Fell Double Pica" => "IM Fell Double Pica", "IM Fell Double Pica SC" => "IM Fell Double Pica SC", "IM Fell English" => "IM Fell English", "IM Fell English SC" => "IM Fell English SC", "IM Fell French Canon" => "IM Fell French Canon", "IM Fell French Canon SC" => "IM Fell French Canon SC", "IM Fell Great Primer" => "IM Fell Great Primer", "IM Fell Great Primer SC" => "IM Fell Great Primer SC", "Iceberg" => "Iceberg", "Iceland" => "Iceland", "Imprima" => "Imprima", "Inconsolata" => "Inconsolata", "Inder" => "Inder", "Indie Flower" => "Indie Flower", "Inika" => "Inika", "Inknut Antiqua" => "Inknut Antiqua", "Irish Grover" => "Irish Grover", "Istok Web" => "Istok Web", "Italiana" => "Italiana", "Italianno" => "Italianno", "Itim" => "Itim", "Jacques Francois" => "Jacques Francois", "Jacques Francois Shadow" => "Jacques Francois Shadow", "Jaldi" => "Jaldi", "Jim Nightshade" => "Jim Nightshade", "Jockey One" => "Jockey One", "Jolly Lodger" => "Jolly Lodger", "Jomhuria" => "Jomhuria", "Josefin Sans" => "Josefin Sans", "Josefin Slab" => "Josefin Slab", "Joti One" => "Joti One", "Judson" => "Judson", "Julee" => "Julee", "Julius Sans One" => "Julius Sans One", "Junge" => "Junge", "Jura" => "Jura", "Just Another Hand" => "Just Another Hand", "Just Me Again Down Here" => "Just Me Again Down Here", "Kadwa" => "Kadwa", "Kalam" => "Kalam", "Kameron" => "Kameron", "Kanit" => "Kanit", "Kantumruy" => "Kantumruy", "Karla" => "Karla", "Karma" => "Karma", "Katibeh" => "Katibeh", "Kaushan Script" => "Kaushan Script", "Kavivanar" => "Kavivanar", "Kavoon" => "Kavoon", "Kdam Thmor" => "Kdam Thmor", "Keania One" => "Keania One", "Kelly Slab" => "Kelly Slab", "Kenia" => "Kenia", "Khand" => "Khand", "Khmer" => "Khmer", "Khula" => "Khula", "Kite One" => "Kite One", "Knewave" => "Knewave", "Kotta One" => "Kotta One", "Koulen" => "Koulen", "Kranky" => "Kranky", "Kreon" => "Kreon", "Kristi" => "Kristi", "Krona One" => "Krona One", "Kumar One" => "Kumar One", "Kumar One Outline" => "Kumar One Outline", "Kurale" => "Kurale", "La Belle Aurore" => "La Belle Aurore", "Laila" => "Laila", "Lakki Reddy" => "Lakki Reddy", "Lalezar" => "Lalezar", "Lancelot" => "Lancelot", "Lateef" => "Lateef", "Lato" => "Lato", "League Script" => "League Script", "Leckerli One" => "Leckerli One", "Ledger" => "Ledger", "Lekton" => "Lekton", "Lemon" => "Lemon", "Lemonada" => "Lemonada", "Libre Barcode 128" => "Libre Barcode 128", "Libre Barcode 128 Text" => "Libre Barcode 128 Text", "Libre Barcode 39" => "Libre Barcode 39", "Libre Barcode 39 Extended" => "Libre Barcode 39 Extended", "Libre Barcode 39 Extended Text" => "Libre Barcode 39 Extended Text", "Libre Barcode 39 Text" => "Libre Barcode 39 Text", "Libre Baskerville" => "Libre Baskerville", "Libre Franklin" => "Libre Franklin", "Life Savers" => "Life Savers", "Lilita One" => "Lilita One", "Lily Script One" => "Lily Script One", "Limelight" => "Limelight", "Linden Hill" => "Linden Hill", "Lobster" => "Lobster", "Lobster Two" => "Lobster Two", "Londrina Outline" => "Londrina Outline", "Londrina Shadow" => "Londrina Shadow", "Londrina Sketch" => "Londrina Sketch", "Londrina Solid" => "Londrina Solid", "Lora" => "Lora", "Love Ya Like A Sister" => "Love Ya Like A Sister", "Loved by the King" => "Loved by the King", "Lovers Quarrel" => "Lovers Quarrel", "Luckiest Guy" => "Luckiest Guy", "Lusitana" => "Lusitana", "Lustria" => "Lustria", "Macondo" => "Macondo", "Macondo Swash Caps" => "Macondo Swash Caps", "Mada" => "Mada", "Magra" => "Magra", "Maiden Orange" => "Maiden Orange", "Maitree" => "Maitree", "Mako" => "Mako", "Mallanna" => "Mallanna", "Mandali" => "Mandali", "Manuale" => "Manuale", "Marcellus" => "Marcellus", "Marcellus SC" => "Marcellus SC", "Marck Script" => "Marck Script", "Margarine" => "Margarine", "Marko One" => "Marko One", "Marmelad" => "Marmelad", "Martel" => "Martel", "Martel Sans" => "Martel Sans", "Marvel" => "Marvel", "Mate" => "Mate", "Mate SC" => "Mate SC", "Maven Pro" => "Maven Pro", "McLaren" => "McLaren", "Meddon" => "Meddon", "MedievalSharp" => "MedievalSharp", "Medula One" => "Medula One", "Meera Inimai" => "Meera Inimai", "Megrim" => "Megrim", "Meie Script" => "Meie Script", "Merienda" => "Merienda", "Merienda One" => "Merienda One", "Merriweather" => "Merriweather", "Merriweather Sans" => "Merriweather Sans", "Metal" => "Metal", "Metal Mania" => "Metal Mania", "Metamorphous" => "Metamorphous", "Metrophobic" => "Metrophobic", "Michroma" => "Michroma", "Milonga" => "Milonga", "Miltonian" => "Miltonian", "Miltonian Tattoo" => "Miltonian Tattoo", "Miniver" => "Miniver", "Miriam Libre" => "Miriam Libre", "Mirza" => "Mirza", "Miss Fajardose" => "Miss Fajardose", "Mitr" => "Mitr", "Modak" => "Modak", "Modern Antiqua" => "Modern Antiqua", "Mogra" => "Mogra", "Molengo" => "Molengo", "Molle" => "Molle", "Monda" => "Monda", "Monofett" => "Monofett", "Monoton" => "Monoton", "Monsieur La Doulaise" => "Monsieur La Doulaise", "Montaga" => "Montaga", "Montez" => "Montez", "Montserrat" => "Montserrat", "Montserrat Alternates" => "Montserrat Alternates", "Montserrat Subrayada" => "Montserrat Subrayada", "Moul" => "Moul", "Moulpali" => "Moulpali", "Mountains of Christmas" => "Mountains of Christmas", "Mouse Memoirs" => "Mouse Memoirs", "Mr Bedfort" => "Mr Bedfort", "Mr Dafoe" => "Mr Dafoe", "Mr De Haviland" => "Mr De Haviland", "Mrs Saint Delafield" => "Mrs Saint Delafield", "Mrs Sheppards" => "Mrs Sheppards", "Mukta" => "Mukta", "Mukta Mahee" => "Mukta Mahee", "Mukta Malar" => "Mukta Malar", "Mukta Vaani" => "Mukta Vaani", "Muli" => "Muli", "Mystery Quest" => "Mystery Quest", "NTR" => "NTR", "Neucha" => "Neucha", "Neuton" => "Neuton", "New Rocker" => "New Rocker", "News Cycle" => "News Cycle", "Niconne" => "Niconne", "Nixie One" => "Nixie One", "Nobile" => "Nobile", "Nokora" => "Nokora", "Norican" => "Norican", "Nosifer" => "Nosifer", "Nothing You Could Do" => "Nothing You Could Do", "Noticia Text" => "Noticia Text", "Noto Sans" => "Noto Sans", "Noto Serif" => "Noto Serif", "Nova Cut" => "Nova Cut", "Nova Flat" => "Nova Flat", "Nova Mono" => "Nova Mono", "Nova Oval" => "Nova Oval", "Nova Round" => "Nova Round", "Nova Script" => "Nova Script", "Nova Slim" => "Nova Slim", "Nova Square" => "Nova Square", "Numans" => "Numans", "Nunito" => "Nunito", "Nunito Sans" => "Nunito Sans", "Odor Mean Chey" => "Odor Mean Chey", "Offside" => "Offside", "Old Standard TT" => "Old Standard TT", "Oldenburg" => "Oldenburg", "Oleo Script" => "Oleo Script", "Oleo Script Swash Caps" => "Oleo Script Swash Caps", "Open Sans" => "Open Sans", "Open Sans Condensed" => "Open Sans Condensed", "Oranienbaum" => "Oranienbaum", "Orbitron" => "Orbitron", "Oregano" => "Oregano", "Orienta" => "Orienta", "Original Surfer" => "Original Surfer", "Oswald" => "Oswald", "Over the Rainbow" => "Over the Rainbow", "Overlock" => "Overlock", "Overlock SC" => "Overlock SC", "Overpass" => "Overpass", "Overpass Mono" => "Overpass Mono", "Ovo" => "Ovo", "Oxygen" => "Oxygen", "Oxygen Mono" => "Oxygen Mono", "PT Mono" => "PT Mono", "PT Sans" => "PT Sans", "PT Sans Caption" => "PT Sans Caption", "PT Sans Narrow" => "PT Sans Narrow", "PT Serif" => "PT Serif", "PT Serif Caption" => "PT Serif Caption", "Pacifico" => "Pacifico", "Padauk" => "Padauk", "Palanquin" => "Palanquin", "Palanquin Dark" => "Palanquin Dark", "Pangolin" => "Pangolin", "Paprika" => "Paprika", "Parisienne" => "Parisienne", "Passero One" => "Passero One", "Passion One" => "Passion One", "Pathway Gothic One" => "Pathway Gothic One", "Patrick Hand" => "Patrick Hand", "Patrick Hand SC" => "Patrick Hand SC", "Pattaya" => "Pattaya", "Patua One" => "Patua One", "Pavanam" => "Pavanam", "Paytone One" => "Paytone One", "Peddana" => "Peddana", "Peralta" => "Peralta", "Permanent Marker" => "Permanent Marker", "Petit Formal Script" => "Petit Formal Script", "Petrona" => "Petrona", "Philosopher" => "Philosopher", "Piedra" => "Piedra", "Pinyon Script" => "Pinyon Script", "Pirata One" => "Pirata One", "Plaster" => "Plaster", "Play" => "Play", "Playball" => "Playball", "Playfair Display" => "Playfair Display", "Playfair Display SC" => "Playfair Display SC", "Podkova" => "Podkova", "Poiret One" => "Poiret One", "Poller One" => "Poller One", "Poly" => "Poly", "Pompiere" => "Pompiere", "Pontano Sans" => "Pontano Sans", "Poppins" => "Poppins", "Port Lligat Sans" => "Port Lligat Sans", "Port Lligat Slab" => "Port Lligat Slab", "Pragati Narrow" => "Pragati Narrow", "Prata" => "Prata", "Preahvihear" => "Preahvihear", "Press Start 2P" => "Press Start 2P", "Pridi" => "Pridi", "Princess Sofia" => "Princess Sofia", "Prociono" => "Prociono", "Prompt" => "Prompt", "Prosto One" => "Prosto One", "Proza Libre" => "Proza Libre", "Puritan" => "Puritan", "Purple Purse" => "Purple Purse", "Quando" => "Quando", "Quantico" => "Quantico", "Quattrocento" => "Quattrocento", "Quattrocento Sans" => "Quattrocento Sans", "Questrial" => "Questrial", "Quicksand" => "Quicksand", "Quintessential" => "Quintessential", "Qwigley" => "Qwigley", "Racing Sans One" => "Racing Sans One", "Radley" => "Radley", "Rajdhani" => "Rajdhani", "Rakkas" => "Rakkas", "Raleway" => "Raleway", "Raleway Dots" => "Raleway Dots", "Ramabhadra" => "Ramabhadra", "Ramaraja" => "Ramaraja", "Rambla" => "Rambla", "Rammetto One" => "Rammetto One", "Ranchers" => "Ranchers", "Rancho" => "Rancho", "Ranga" => "Ranga", "Rasa" => "Rasa", "Rationale" => "Rationale", "Ravi Prakash" => "Ravi Prakash", "Redressed" => "Redressed", "Reem Kufi" => "Reem Kufi", "Reenie Beanie" => "Reenie Beanie", "Revalia" => "Revalia", "Rhodium Libre" => "Rhodium Libre", "Ribeye" => "Ribeye", "Ribeye Marrow" => "Ribeye Marrow", "Righteous" => "Righteous", "Risque" => "Risque", "Roboto" => "Roboto", "Roboto Condensed" => "Roboto Condensed", "Roboto Mono" => "Roboto Mono", "Roboto Slab" => "Roboto Slab", "Rochester" => "Rochester", "Rock Salt" => "Rock Salt", "Rokkitt" => "Rokkitt", "Romanesco" => "Romanesco", "Ropa Sans" => "Ropa Sans", "Rosario" => "Rosario", "Rosarivo" => "Rosarivo", "Rouge Script" => "Rouge Script", "Rozha One" => "Rozha One", "Rubik" => "Rubik", "Rubik Mono One" => "Rubik Mono One", "Ruda" => "Ruda", "Rufina" => "Rufina", "Ruge Boogie" => "Ruge Boogie", "Ruluko" => "Ruluko", "Rum Raisin" => "Rum Raisin", "Ruslan Display" => "Ruslan Display", "Russo One" => "Russo One", "Ruthie" => "Ruthie", "Rye" => "Rye", "Sacramento" => "Sacramento", "Sahitya" => "Sahitya", "Sail" => "Sail", "Saira" => "Saira", "Saira Condensed" => "Saira Condensed", "Saira Extra Condensed" => "Saira Extra Condensed", "Saira Semi Condensed" => "Saira Semi Condensed", "Salsa" => "Salsa", "Sanchez" => "Sanchez", "Sancreek" => "Sancreek", "Sansita" => "Sansita", "Sarala" => "Sarala", "Sarina" => "Sarina", "Sarpanch" => "Sarpanch", "Satisfy" => "Satisfy", "Scada" => "Scada", "Scheherazade" => "Scheherazade", "Schoolbell" => "Schoolbell", "Scope One" => "Scope One", "Seaweed Script" => "Seaweed Script", "Secular One" => "Secular One", "Sedgwick Ave" => "Sedgwick Ave", "Sedgwick Ave Display" => "Sedgwick Ave Display", "Sevillana" => "Sevillana", "Seymour One" => "Seymour One", "Shadows Into Light" => "Shadows Into Light", "Shadows Into Light Two" => "Shadows Into Light Two", "Shanti" => "Shanti", "Share" => "Share", "Share Tech" => "Share Tech", "Share Tech Mono" => "Share Tech Mono", "Shojumaru" => "Shojumaru", "Short Stack" => "Short Stack", "Shrikhand" => "Shrikhand", "Siemreap" => "Siemreap", "Sigmar One" => "Sigmar One", "Signika" => "Signika", "Signika Negative" => "Signika Negative", "Simonetta" => "Simonetta", "Sintony" => "Sintony", "Sirin Stencil" => "Sirin Stencil", "Six Caps" => "Six Caps", "Skranji" => "Skranji", "Slabo 13px" => "Slabo 13px", "Slabo 27px" => "Slabo 27px", "Slackey" => "Slackey", "Smokum" => "Smokum", "Smythe" => "Smythe", "Sniglet" => "Sniglet", "Snippet" => "Snippet", "Snowburst One" => "Snowburst One", "Sofadi One" => "Sofadi One", "Sofia" => "Sofia", "Sonsie One" => "Sonsie One", "Sorts Mill Goudy" => "Sorts Mill Goudy", "Source Code Pro" => "Source Code Pro", "Source Sans Pro" => "Source Sans Pro", "Source Serif Pro" => "Source Serif Pro", "Space Mono" => "Space Mono", "Special Elite" => "Special Elite", "Spectral" => "Spectral", "Spicy Rice" => "Spicy Rice", "Spinnaker" => "Spinnaker", "Spirax" => "Spirax", "Squada One" => "Squada One", "Sree Krushnadevaraya" => "Sree Krushnadevaraya", "Sriracha" => "Sriracha", "Stalemate" => "Stalemate", "Stalinist One" => "Stalinist One", "Stardos Stencil" => "Stardos Stencil", "Stint Ultra Condensed" => "Stint Ultra Condensed", "Stint Ultra Expanded" => "Stint Ultra Expanded", "Stoke" => "Stoke", "Strait" => "Strait", "Sue Ellen Francisco" => "Sue Ellen Francisco", "Suez One" => "Suez One", "Sumana" => "Sumana", "Sunshiney" => "Sunshiney", "Supermercado One" => "Supermercado One", "Sura" => "Sura", "Suranna" => "Suranna", "Suravaram" => "Suravaram", "Suwannaphum" => "Suwannaphum", "Swanky and Moo Moo" => "Swanky and Moo Moo", "Syncopate" => "Syncopate", "Tangerine" => "Tangerine", "Taprom" => "Taprom", "Tauri" => "Tauri", "Taviraj" => "Taviraj", "Teko" => "Teko", "Telex" => "Telex", "Tenali Ramakrishna" => "Tenali Ramakrishna", "Tenor Sans" => "Tenor Sans", "Text Me One" => "Text Me One", "The Girl Next Door" => "The Girl Next Door", "Tienne" => "Tienne", "Tillana" => "Tillana", "Timmana" => "Timmana", "Tinos" => "Tinos", "Titan One" => "Titan One", "Titillium Web" => "Titillium Web", "Trade Winds" => "Trade Winds", "Trirong" => "Trirong", "Trocchi" => "Trocchi", "Trochut" => "Trochut", "Trykker" => "Trykker", "Tulpen One" => "Tulpen One", "Ubuntu" => "Ubuntu", "Ubuntu Condensed" => "Ubuntu Condensed", "Ubuntu Mono" => "Ubuntu Mono", "Ultra" => "Ultra", "Uncial Antiqua" => "Uncial Antiqua", "Underdog" => "Underdog", "Unica One" => "Unica One", "UnifrakturCook" => "UnifrakturCook", "UnifrakturMaguntia" => "UnifrakturMaguntia", "Unkempt" => "Unkempt", "Unlock" => "Unlock", "Unna" => "Unna", "VT323" => "VT323", "Vampiro One" => "Vampiro One", "Varela" => "Varela", "Varela Round" => "Varela Round", "Vast Shadow" => "Vast Shadow", "Vesper Libre" => "Vesper Libre", "Vibur" => "Vibur", "Vidaloka" => "Vidaloka", "Viga" => "Viga", "Voces" => "Voces", "Volkhov" => "Volkhov", "Vollkorn" => "Vollkorn", "Voltaire" => "Voltaire", "Waiting for the Sunrise" => "Waiting for the Sunrise", "Wallpoet" => "Wallpoet", "Walter Turncoat" => "Walter Turncoat", "Warnes" => "Warnes", "Wellfleet" => "Wellfleet", "Wendy One" => "Wendy One", "Wire One" => "Wire One", "Work Sans" => "Work Sans", "Yanone Kaffeesatz" => "Yanone Kaffeesatz", "Yantramanav" => "Yantramanav", "Yatra One" => "Yatra One", "Yellowtail" => "Yellowtail", "Yeseva One" => "Yeseva One", "Yesteryear" => "Yesteryear", "Yrsa" => "Yrsa", "Zeyada" => "Zeyada", "Zilla Slab" => "Zilla Slab", "Zilla Slab Highlight" => "Zilla Slab Highlight", ), 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6b8e98fa8cc', 'label' => 'صفحه 404', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6b8eaafa8cd', 'label' => 'محتوای صفحه 404', 'name' => '404_content', 'type' => 'wysiwyg', 'instructions' => 'محتوای صفحه 404 را در این جا وارد نمائید. این صفحه هنگامی که کاربر یک آدرس اشتباه در سایت شما وارد کند نمایش داده خواهد شد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 1, 'delay' => 0, ), array( 'key' => 'field_5d6b8ee5fa8ce', 'label' => 'اعتبار سنجی پسورد', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6b8efffa8cf', 'label' => 'اعتبار سنجی پسورد', 'name' => 'remove_password_strength', 'type' => 'on-off', 'instructions' => 'آیا میخواهید اعتبار سنجی پسورد در هنگام عضویت کاربران غیر فعال شود. در صورتی که این گزینه را غیر فعال کنید کاربران میتوانند هر پسوردی را که مایل هستند درج نمایند.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), array( 'key' => 'field_5dsdf345fae', 'label' => 'ووکامرس', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_265adkif34', 'label' => 'انتخاب تعداد', 'name' => 'select_quantity_product', 'type' => 'on-off', 'instructions' => 'در صورتی که نمیخواهید در اسلایدر محصولات و آرشیو محصولات تعداد محصول انتخاب شود این گزینه را غیره فعال کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'off', ), /* array( 'key' => 'field_5d6b8exszd1452ere5fa8ce', 'label' => 'دکمه پشتیبانی', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6b8ecdxfrpaw782fffa8cf', 'label' => 'دکمه پشتیبانی', 'name' => 'show_support_button', 'type' => 'on-off', 'instructions' => 'نمایش دکمه پشتیبانی نیوکالا در نوار ابزار ادمین ؟', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'onoff' => 'on', ), */ ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => array( 0 => 'permalink', 1 => 'the_content', 2 => 'excerpt', 3 => 'discussion', 4 => 'comments', 5 => 'revisions', 6 => 'slug', 7 => 'author', 8 => 'format', 9 => 'page_attributes', 10 => 'featured_image', 11 => 'categories', 12 => 'tags', 13 => 'send-trackbacks', ), 'active' => true, 'description' => '', )); $options_endpoint = array(); foreach ( wc_get_account_menu_items() as $endpoint => $label ){ $slug_menu_item = $endpoint ; switch ($slug_menu_item) { case "dashboard": $default_icon_menu_item = 'fas fa-tachometer-alt'; break; case "orders": $default_icon_menu_item = 'fas fa-file-alt'; break; case "downloads": $default_icon_menu_item = 'fas fa-download'; break; case "edit-address": $default_icon_menu_item = 'fas fa-address-book'; break; case "edit-account": $default_icon_menu_item = 'fas fa-user'; break; case "comments": $default_icon_menu_item = 'fas fa-comment'; break; case "customer-logout": $default_icon_menu_item = 'fas fa-sign-out-alt'; break; } $options_endpoint[] = array( 'key' => 'field_5ddfd656e9228fd7', 'label' => 'تنظیمات منو کناری', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ); $options_endpoint[] = array( 'key' => 'field_5d6b99e73dadb'.$endpoint, 'label' => 'آیکون ' .$label. ' را انتخاب کنید', 'name' => 'nk_'.$endpoint, 'type' => 'select', 'choices' => nk_font_icon(), 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', 'ui' => 1, 'ajax' => 1, 'return_format' => 'value', 'default_value' => $default_icon_menu_item, ); } if(defined( 'ACTIVE_TEMPLATE_WOOCOMMERCE' )){ $options_endpoint[] = array( 'key' => 'field_5sdd6dhf9228fd7', 'label' => 'تنظیمات سربرگ', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ); $options_endpoint[] = array( 'key' => 'field_5ddfghd8ff71864', 'label' => 'فهرست اصلی', 'name' => 'main_menu_woocommerce', 'type' => 'repeater', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5dgbb9faa8750', 'label' => 'تیتر', 'name' => 'wc_title_items', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6dfbba24851', 'label' => 'لینک', 'name' => 'wc_link_items', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d66s73dadfj45db', 'label' => 'آیکون را انتخاب کنید', 'name' => 'wc_icon_items', 'type' => 'select', 'choices' => nk_font_icon(), 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', 'ui' => 1, 'ajax' => 1, 'return_format' => 'value', //'default_value' => $default_icon_menu_item, ), ), ); $options_endpoint[] = array( 'key' => 'field_5d6bsdfg4fj45b', 'label' => 'شماره تماس پشتیبانی', 'name' => 'wc_support_phone', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', 'ui' => 1, 'ajax' => 1, 'return_format' => 'value', ); $options_endpoint[] = array( 'key' => 'field_5sdnhj5hf98fd7', 'label' => 'تنظیمات پابرگ', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ); $options_endpoint[] = array( 'key' => 'field_5sf54g4fj45b', 'label' => 'متن کپی رایت', 'name' => 'wc_copy_right_text', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', 'ui' => 1, 'ajax' => 1, 'return_format' => 'value', ); } // $options_endpoint[] = array( // 'key' => 'field_5ssd568fd7', // 'label' => 'سفارشی سازی فرم ثبت نام', // 'name' => '', // 'type' => 'tab', // 'instructions' => '', // 'required' => 0, // 'conditional_logic' => 0, // 'wrapper' => array( // 'width' => '', // 'class' => '', // 'id' => '', // ), // 'placement' => 'left', // 'endpoint' => 0, // ); // $options_endpoint[] = array( // 'key' => 'field_5456okff864', // 'label' => 'فیلد های مورد نظر را وارد بفرمایید.', // 'name' => 'wc_add_custom_fields', // 'type' => 'repeater', // 'required' => 0, // 'conditional_logic' => 0, // 'wrapper' => array( // 'width' => '', // 'class' => '', // 'id' => '', // ), // 'collapsed' => '', // 'min' => 0, // 'max' => 0, // 'layout' => 'table', // 'button_label' => '', // 'sub_fields' => array( // array( // 'key' => 'field_5dfg3a8750', // 'label' => 'نام فیلد را وارد کنید.', // 'name' => 'wc_title_field', // 'type' => 'text', // 'instructions' => '', // 'required' => 0, // 'conditional_logic' => 0, // 'wrapper' => array( // 'width' => '', // 'class' => '', // 'id' => '', // ), // 'default_value' => '', // 'placeholder' => '', // 'prepend' => '', // 'append' => '', // 'maxlength' => '', // ), // array( // 'key' => 'field_5dsf456a850', // 'label' => 'نامک انگلیسی وارد کنید.', // 'name' => 'wc_slug_field', // 'type' => 'text', // 'instructions' => '', // 'required' => 0, // 'conditional_logic' => 0, // 'wrapper' => array( // 'width' => '', // 'class' => '', // 'id' => '', // ), // 'default_value' => '', // 'placeholder' => '', // 'prepend' => '', // 'append' => '', // 'maxlength' => '', // ), // ), // ); acf_add_local_field_group(array( 'key' => 'group_5e0gfhdc85c89255b', 'title' => 'تنظیمات پنل ووکامرس', 'fields' => $options_endpoint, 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-woocommerce-dashboard-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', )); acf_add_local_field_group(array( 'key' => 'group_5d6bf637918ae', 'title' => 'تنظیمات فوتر', 'fields' => array( array( 'key' => 'field_5d6bf64bdf495', 'label' => 'توضیحات فروشگاه و کپی رایت', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bf65cdf496', 'label' => 'شعار فوتر سایت', 'name' => 'footer_slogan', 'type' => 'text', 'instructions' => 'شعاری را که مایل هستید در فوتر نمایش داده شود را به صورت مختصر در این فیلد درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bf678df497', 'label' => 'درباره فروشگاه', 'name' => 'about_us_footer', 'type' => 'wysiwyg', 'instructions' => 'توضیحات مورد نظر فروشگاه را در این ادیتور درج نمائید', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'all', 'toolbar' => 'full', 'media_upload' => 0, 'delay' => 0, ), array( 'key' => 'field_5d6bf6bcdf498', 'label' => 'متن کپی رایت', 'name' => 'copyright', 'type' => 'wysiwyg', 'instructions' => 'متن کپی رایت سایت رو در این فیلد درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'tabs' => 'visual', 'toolbar' => 'basic', 'media_upload' => 0, 'delay' => 0, ), // array( // 'key' => 'field_5d6bf6eedf499', // 'label' => 'متن کپی رایت فرم ورود', // 'name' => 'loginform_footer', // 'type' => 'wysiwyg', // 'instructions' => '', // 'required' => 0, // 'conditional_logic' => 0, // 'wrapper' => array( // 'width' => '', // 'class' => '', // 'id' => '', // ), // 'default_value' => '', // 'tabs' => 'visual', // 'toolbar' => 'basic', // 'media_upload' => 0, // 'delay' => 0, // ), array( 'key' => 'field_5d6bf765b39e8', 'label' => 'لوگو اینماد و ساماندهی', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bf777b39e9', 'label' => 'کدهای جاوا اسکریپت اینماد و ساماندهی', 'name' => 'logos_offices', 'type' => 'repeater', 'instructions' => 'کدهای جاوا اسکریپت اینماد و ساماندهی و یا مابقی نمادها را در اینجا قرار دهید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5d6bf7fac5fb5', 'label' => 'تیتر', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bf7a4b39ea', 'label' => 'کد مورد نظر', 'name' => 'code', 'type' => 'textarea', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'rows' => '', 'new_lines' => '', ), ), ), array( 'key' => 'field_5d6c34fsdsdfsdfe', 'label' => '', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'ممکن است در برخی از هاست ها شما با قرار دادن کدهای اینماد یا ساماندهی در هنگام ذخیره تنظیمات با ارور 403 مواجه شوید که در این موقع میتوانید کدهای خود را در ابزارکی که برای این موضوع در نظر گرفته شده است قرار دهید.
برای کدهای html از ابزارک HTML سفارشی و برای عکس ها میتوانید از ابزارک تصویر استفاده کنید. مانند مثال های ذیل: رفتن به بخش ابزارک ها
', 'new_lines' => 'wpautop', 'esc_html' => 0, ), array( 'key' => 'field_5d6bf8371c205', 'label' => 'شبکه های اجتماعی و تماس با ما', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bf8491c206', 'label' => 'شماره تلفن', 'name' => 'phone', 'type' => 'text', 'instructions' => 'شماره تلفن سایت رو در این باکس درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bf8621c207', 'label' => 'ایمیل', 'name' => 'mail', 'type' => 'text', 'instructions' => 'ایمیل سایت رو در این فیلد درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bf88c1c209', 'label' => 'آدرس صفحه اینستاگرام', 'name' => 'instagram_page', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bf8991c20a', 'label' => 'آدرس کانال تلگرام', 'name' => 'telegram_page', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bfgfdrdsqf8991c20a', 'label' => 'آدرس صفحه توئیتر', 'name' => 'twitter_page', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6b78xszsagbvt991c20a', 'label' => 'آدرس صفحه لینکداین', 'name' => 'linkedin_page', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_xsderfg45avt991c20a', 'label' => 'آدرس صفحه آپارات', 'name' => 'aparat_page', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_xscdfrf91c20a', 'label' => 'آدرس صفحه یوتیوب', 'name' => 'youtube_page', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bf8771c208', 'label' => 'شورت کد خبرنامه', 'name' => 'newsletter_shortcode', 'type' => 'text', 'instructions' => 'در صورتی که تمایل دارید در سایت خودتون از خبرنامه استفاده کنید ، شورت کد خبرنامه را در این فیلد درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6bsxdwozf765b39e8', 'label' => 'برند های فوتر', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bfder45f777b39e9', 'label' => 'برندهای فوتر', 'name' => 'footer_brands', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'collapsed' => '', 'min' => 0, 'max' => 0, 'layout' => 'table', 'button_label' => '', 'sub_fields' => array( array( 'key' => 'field_5d6bf7swwsxfac5fb5', 'label' => 'تایتل', 'name' => 'title', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_xdsxjmkwsxfac5fb5', 'label' => 'لینک', 'name' => 'link', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), array( 'key' => 'field_5d6zasxswk9171c20e', 'label' => 'برند', 'name' => 'image', 'type' => 'image', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), ), array( 'key' => 'field_5d6bf8b31c20b', 'label' => 'آیکون های دانلود اپلیکیشن سایت', 'name' => '', 'type' => 'tab', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'placement' => 'left', 'endpoint' => 0, ), array( 'key' => 'field_5d6bf786788fe1c20d', 'label' => '', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => 'در این بخش میتوانید نوتیفیکیشن دانلود اپ رو مدیریت بفرمائید:
', 'new_lines' => 'wpautop', 'esc_html' => 0, ), array( 'key' => 'field_5d6bf85743758fe1c20d', 'label' => 'لینک دانلود', 'name' => 'dl_app_in_mobile', 'type' => 'url', 'instructions' => 'لینک مستقیم دانلود اپلیکیشن سایت یا برگه دانلود یا هر لینک دیگری را در این فیلد درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6baddgf5867f9171c20e', 'label' => 'آیکون نوتیفیکیشن دانلود اپلیکیشن', 'name' => 'icon_notification_app', 'type' => 'image', 'instructions' => 'آیکون نوتیفیکیشن دانلود اپلیکیشن را در این قسمت آپلود نمائید. با عرض و ارتفاع 35 پیکسل', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6bf8fe1c20d', 'label' => 'لینک دانلود اندروید', 'name' => 'dl_android_app', 'type' => 'url', 'instructions' => 'لینک دانلود اندروید را در این باکس درج نمائید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6bf9171c20e', 'label' => 'آیکون اندروید', 'name' => 'icon_android_app', 'type' => 'image', 'instructions' => 'در صورت تمایل میتوانید تصویر دیگری را جایگزین آیکون دانلود نرم افزاراندروید نمائید. و لینک دلخواه خود را در فیلد بالا درج نمائید.
عرض آیکون 159 و ارتفاع آن 48 پیکسل باشد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), array( 'key' => 'field_5d6bf8c21c20c', 'label' => 'لینک دانلود نرم افزار ios', 'name' => 'dl_ios_app', 'type' => 'url', 'instructions' => 'لینک دانلود نرم افزار ios رو در این فیلد درج کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', ), array( 'key' => 'field_5d6bf9958b96a', 'label' => 'آیکون iOS', 'name' => 'icon_ios_app', 'type' => 'image', 'instructions' => 'در صورت تمایل میتوانید تصویر دیگری را جایگزین آیکون دانلود نرم افزارآیفون نمائید. و لینک دلخواه خود را در فیلد بالا درج نمائید.
عرض آیکون 159 و ارتفاع آن 48 پیکسل باشد.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'return_format' => 'url', 'preview_size' => 'full', 'library' => 'all', 'min_width' => '', 'min_height' => '', 'min_size' => '', 'max_width' => '', 'max_height' => '', 'max_size' => '', 'mime_types' => '', ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-footer-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', )); $message = ''; if ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) ) $message .= '

بر روی وب سایت شما افزونه YITH WooCommerce Compare Premium نصب و فعال میباشد. مادامی که این افزونه فعال باشد امکان استفاده از سیستم مقایسه قالب را ندارید.

'; acf_add_local_field_group(array( 'key' => 'group_5e0c85c89255b', 'title' => 'تنظیمات مقایسه', 'fields' => array( array( 'key' => 'field_5e0c89c986a60', 'label' => '', 'name' => '', 'type' => 'message', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'message' => $message, 'new_lines' => 'wpautop', 'esc_html' => 0, ), array( 'key' => 'field_5e0c87d68a4cd', 'label' => 'نامک صفحه مقایسه', 'name' => 'nk_slug_compare', 'type' => 'text', 'instructions' => 'به صورت پیشفرض نامک صفحه مقایسه به صورت nk-compare درج شده است. در صورت تمایل میتوانید یک نامک انگلیسی دیگر برای آن درج کنید.
حتما این نامک به صورت انگلیسی باشد.

مثال مقدار پیشفرض: https://domin.com/nk-compare/?products=10,20,30,40
', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => 'nk-compare', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => 20, ), array( 'key' => 'field_5e0c85fdergf3bb934', 'label' => 'دسته محصولات', 'name' => 'nk_cats_compa', 'type' => 'taxonomy', 'instructions' => 'دسته بندی هایی را که مایل هستید در صفحه آرشیو آنها دکمه مقایسه در محصولات نمایش داده شود را انتخاب نمائید.
پیشنهاد میکنیم که دسته هایی را انتخاب نمائید که محصولات بسیار مشابه ای در آنها درج میگردد تا سیستم مقایسه به درستی و حرفه ای مقایسه را انجام دهد. سعی کنید تا آخرین لول های دسته بندی ها رو انتخاب کنید و از انتخاب دسته های والد که در اون محصولات متفاوتی عمدتا درج میشوند اجتناب کنید.', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'taxonomy' => 'product_cat', 'field_type' => 'multi_select', 'allow_null' => 0, 'add_term' => 0, 'save_terms' => 0, 'load_terms' => 0, 'return_format' => 'id', 'multiple' => 0, ), ), 'location' => array( array( array( 'param' => 'options_page', 'operator' => '==', 'value' => 'newkala-compare-options', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', )); endif; مقایسه محصولات
سبد خرید 0

موجود

توضیحات

برگشت به بالا
سوالی دارید؟ با ما صحبت کنید!
مکالمه را شروع کنید
سلام! برای چت در WhatsApp پرسنل پشتیبانی که میخواهید با او صحبت کنید را انتخاب کنید
ما معمولاً در چند دقیقه پاسخ می دهیم