PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
admin
/
options
/
shop
<?php global $wc; Flatsome_Option::add_section( 'fl-my-account', array( 'title' => __( 'حساب کاربری', 'flatsome-admin' ), 'description' => 'توجه: فرم/لینک ثبت نام فقط برای کاربرانی که وارد نشده اند قابل مشاهده است و تنظیمات WooCommerce، "اجازه به مشتریان برای ایجاد حساب در صفحه "حساب من" فعال است.', 'panel' => 'woocommerce', ) ); Flatsome_Option::add_field( 'option', array( 'type' => 'color-alpha', 'alpha' => true, 'settings' => 'my_account_title_bg_color', 'label' => __( 'رنگ پس زمینه عنوان', 'flatsome-admin' ), 'section' => 'fl-my-account', 'default' => '', 'transport' => $transport, )); Flatsome_Option::add_field( 'option', array( 'type' => 'image', 'settings' => 'facebook_login_bg', 'label' => __( 'تصویر پسزمینه عنوان', 'flatsome-admin' ), 'section' => 'fl-my-account', 'transport' => $transport, 'default' => '' )); Flatsome_Option::add_field( 'option', array( 'type' => 'radio-image', 'settings' => 'my_account_title_align', 'label' => __( 'تراز متن', 'flatsome-admin' ), 'description' => __( 'For logged in users only.', 'flatsome-admin' ), 'section' => 'fl-my-account', 'default' => 'left', 'transport' => $transport, 'choices' => array( 'left' => $image_url . 'align-left.svg', 'center' => $image_url . 'align-center.svg', 'right' => $image_url . 'align-right.svg', ), )); Flatsome_Option::add_field( 'option', array( 'type' => 'radio-image', 'settings' => 'my_account_title_text_color', 'label' => __( 'رنگ متن', 'flatsome-admin' ), 'section' => 'fl-my-account', 'default' => 'dark', 'transport' => $transport, 'choices' => array( 'light' => $image_url . 'text-light.svg', 'dark' => $image_url . 'text-dark.svg', ), )); Flatsome_Option::add_field( 'option', array( 'type' => 'text', 'settings' => 'facebook_login_text', 'transport' => $transport, 'label' => __( 'متن ورود', 'flatsome-admin' ), 'description' => __( '', 'flatsome-admin' ), 'section' => 'fl-my-account', 'sanitize_callback' => 'flatsome_custom_sanitize', )); Flatsome_Option::add_field( 'option', array( 'type' => 'select', 'settings' => 'social_login_pos', 'label' => __( 'دکمه شبکه های اجتماعی', 'flatsome-admin' ), 'description' => __( 'تغییر موقعیت دکمه های ورود به سیستم اجتماعی در لایت باکس.', 'flatsome-admin' ), 'section' => 'fl-my-account', 'default' => 'top', 'choices' => array( 'top' => __( 'بالا', 'flatsome-admin' ), 'bottom' => __( 'پایین', 'flatsome-admin' ), ), )); Flatsome_Option::add_field( 'option', array( 'type' => 'checkbox', 'settings' => 'wc_account_links', 'label' => __( 'پیوندهای پیش فرض حساب WooCommerce را در Dropdown و Account Sidebar فعال کنید. در صورت تمایل می توانید منوی حساب من را بصورت دلخواه ایجاد کنید.', 'flatsome-admin' ), 'section' => 'fl-my-account', 'default' => 1, )); Flatsome_Option::add_field( '', array( 'type' => 'custom', 'settings' => 'custom_html_header_account_shortcut', 'label' => __( '', 'flatsome-admin' ), 'section' => 'fl-my-account', 'default' => '<button style="margin-top:30px; margin-bottom:15px" class="button button-primary" data-to-section="header_account">المنت سربرگ ←</button>', ) );
[-] options-shop-catalog-mode.php
[edit]
[-] options-shop-cart-checkout.php
[edit]
[-] options-shop-my-account.php
[edit]
[-] options-shop-category.php
[edit]
[-] options-shop-payments-icons.php
[edit]
[-] options-shop-product-page.php
[edit]
[-] options-shop-store-notice.php
[edit]
[-] options-shop.php
[edit]
[+]
..