PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
admin
/
option
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php return array( array( 'title' => __('Logo & favicon', 'rehub_framework'), 'name' => 'menu_12', 'icon' => 'font-awesome:fa-cog', 'controls' => array( array( 'type' => 'section', 'title' => __('Logo settings', 'rehub_framework'), 'fields' => array( array( 'type' => 'upload', 'name' => 'rehub_logo', 'label' => __('Upload Logo', 'rehub_framework'), 'description' => __('Upload your logo. Max width is 450px. (1200px for full width, 180px for logo + menu row layout)', 'rehub_framework'), 'default' => '', ), array( 'type' => 'upload', 'name' => 'rehub_logo_retina', 'label' => __('Upload Logo (retina version)', 'rehub_framework'), 'description' => __('Upload retina version of the logo. It should be 2x the size of main logo.', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textbox', 'name' => 'rehub_logo_retina_width', 'label' => __('Logo width', 'rehub_framework'), 'description' => __('Please, enter logo width (without px)', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_logo_retina_height', 'label' => __('Retina logo height', 'rehub_framework'), 'description' => __('Please, enter logo height (without px)', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_text_logo', 'label' => __('Text logo', 'rehub_framework'), 'description' => __('You can type text logo. Use this field only if no image logo', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_text_slogan', 'label' => __('Slogan', 'rehub_framework'), 'description' => __('You can type slogan below text logo. Use this field only if no image logo', 'rehub_framework'), ), ), ), array( 'type' => 'section', 'title' => __('Favicons', 'rehub_framework'), 'fields' => array( array( 'type' => 'notebox', 'name' => 'rehub_favicon_note', 'label' => __('Note!', 'rehub_framework'), 'description' => __('Wordpress 4.3 has built-in favicon function. You can set favicon from Appearance - Customize - Site Identity - Site Icon', 'rehub_framework'), 'status' => 'info', ), ), ), ), ), array( 'title' => __('Header and Menu', 'rehub_framework'), 'name' => 'menu_2', 'icon' => 'font-awesome:fa-wrench ', 'controls' => array( array( 'type' => 'section', 'title' => __('Main Header Options', 'rehub_framework'), 'fields' => array( array( 'type' => 'select', 'name' => 'rehub_header_style', 'label' => __('Select Header style', 'rehub_framework'), 'items' => array( array( 'value' => 'header_first', 'label' => __('Logo + code zone 468X60 + search box', 'rehub_framework'), ), array( 'value' => 'header_eight', 'label' => __('Logo + slogan + search box', 'rehub_framework'), ), array( 'value' => 'header_second', 'label' => __('Logo + code zone 728X90', 'rehub_framework'), ), array( 'value' => 'header_fourth', 'label' => __('Full width logo + code zone under logo', 'rehub_framework'), ), array( 'value' => 'header_five', 'label' => __('Logo + menu in one row', 'rehub_framework'), ), array( 'value' => 'header_six', 'label' => __('Customizable header', 'rehub_framework'), ), array( 'value' => 'header_seven', 'label' => __('Shop/Comparison header (logo + search + login + cart/compare icon)', 'rehub_framework'), ), array( 'value' => 'header_nine', 'label' => __('Centered logo + menu in left + shop, comparison, login icon in right', 'rehub_framework'), ), ), 'default' => array( 'header_first', ), ), array( 'type' => 'textbox', 'name' => 'rehub_logo_pad', 'label' => __('Set padding from top and bottom (without px)', 'rehub_framework'), 'description' => __('This will add custom padding from top and bottom for all custom elements in logo section. Default is 15', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'header_seven_compare_btn', 'label' => __('Enable Compare Icon', 'rehub_framework'), 'default' => '1', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_seven', ), ), array( 'type' => 'textbox', 'name' => 'header_seven_compare_btn_label', 'label' => __('Label for compare icon', 'rehub_framework'), 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_seven', ), ), array( 'type' => 'toggle', 'name' => 'header_seven_cart', 'label' => __('Enable Cart Icon', 'rehub_framework'), 'default' => '1', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_seven', ), ), array( 'type' => 'toggle', 'name' => 'header_seven_login', 'label' => __('Enable Login Icon', 'rehub_framework'), 'default' => '0', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_seven', ), ), array( 'type' => 'textbox', 'name' => 'header_seven_login_label', 'label' => __('Label for login icon', 'rehub_framework'), 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_seven', ), ), array( 'type' => 'textbox', 'name' => 'header_seven_wishlist', 'label' => __('Enable Wishlist Icon and set Url', 'rehub_framework'), 'default' => '', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_seven', ), 'description' => __('Set url on your page where you have [rh_get_user_favorites] shortcode. All icons in header will be available also in mobile logo panel. We don\'t recommend to enable more than 2 icons with Mobile logo.', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'header_seven_wishlist_label', 'label' => __('Label for wishlist icon', 'rehub_framework'), 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_seven', ), ), array( 'type' => 'textarea', 'name' => 'header_seven_more_element', 'label' => __('Add additional element (shortcodes and html supported)', 'rehub_framework'), 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_seven', ), ), array( 'type' => 'toggle', 'name' => 'header_six_login', 'label' => __('Enable login/register section', 'rehub_framework'), 'description' => __('Also, login popup must be enabled in Theme option - User options', 'rehub_framework'), 'default' => '0', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_six', ), ), array( 'type' => 'toggle', 'name' => 'header_six_btn', 'label' => __('Enable additional button in header', 'rehub_framework'), 'description' => __('This will add button in header', 'rehub_framework'), 'default' => '0', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_six', ), ), array( 'type' => 'select', 'name' => 'header_six_btn_color', 'label' => __('Choose color style of button', 'rehub_framework'), 'items' => array( array( 'value' => 'green', 'label' => __('green', 'rehub_framework'), ), array( 'value' => 'orange', 'label' => __('orange', 'rehub_framework'), ), array( 'value' => 'red', 'label' => __('red', 'rehub_framework'), ), array( 'value' => 'blue', 'label' => __('blue', 'rehub_framework'), ), array( 'value' => 'black', 'label' => __('black', 'rehub_framework'), ), array( 'value' => 'rosy', 'label' => __('rosy', 'rehub_framework'), ), array( 'value' => 'brown', 'label' => __('brown', 'rehub_framework'), ), array( 'value' => 'pink', 'label' => __('pink', 'rehub_framework'), ), array( 'value' => 'purple', 'label' => __('purple', 'rehub_framework'), ), array( 'value' => 'gold', 'label' => __('gold', 'rehub_framework'), ), ), 'default' => array( 'green', ), 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_six', ), ), array( 'type' => 'textbox', 'name' => 'header_six_btn_txt', 'label' => __('Type label for button', 'rehub_framework'), 'default' => 'Submit a deal', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_six', ), ), array( 'type' => 'textbox', 'name' => 'header_six_btn_url', 'label' => __('Type url for button', 'rehub_framework'), 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_six', ), ), array( 'type' => 'toggle', 'name' => 'header_six_btn_login', 'label' => __('Enable login popup for non registered users', 'rehub_framework'), 'description' => __('This will open popup if non registered user clicks on button. Also, login popup must be enabled in Theme option - User options', 'rehub_framework'), 'default' => '0', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_six', ), ), array( 'type' => 'toggle', 'name' => 'header_six_src', 'label' => __('Enable search form in header', 'rehub_framework'), 'default' => '0', 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_six', ), ), array( 'type' => 'select', 'name' => 'header_six_menu', 'label' => __('Enable additional menu near logo', 'rehub_framework'), 'description' => __('Use short menu with small number of items!!!', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_menus', ), ), ), 'dependency' => array( 'field' => 'rehub_header_style', 'function' => 'rehub_framework_is_header_six', ), ), array( 'type' => 'toggle', 'name' => 'rehub_sticky_nav', 'label' => __('Sticky Menu Bar', 'rehub_framework'), 'description' => __('Enable/Disable Sticky navigation bar.', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'upload', 'name' => 'rehub_logo_sticky_url', 'label' => __('Upload Logo for sticky menu', 'rehub_framework'), 'description' => __('Upload your logo. Max height is 40px.', 'rehub_framework'), 'default' => '', 'dependency' => array( 'field' => 'rehub_sticky_nav', 'function' => 'vp_dep_boolean', ), ), array( 'type' => 'select', 'name' => 'header_logoline_style', 'label' => __('Choose color style of header logo section', 'rehub_framework'), 'items' => array( array( 'value' => '0', 'label' => __('White style and dark fonts', 'rehub_framework'), ), array( 'value' => '1', 'label' => __('Dark style and white fonts', 'rehub_framework'), ), ), 'default' => array( '0', ), ), array( 'type' => 'color', 'name' => 'rehub_header_color_background', 'label' => __('Custom Background Color', 'rehub_framework'), 'description' => __('Choose the background color or leave blank for default', 'rehub_framework'), 'format' => 'hex', ), array( 'type' => 'upload', 'name' => 'rehub_header_background_image', 'label' => __('Custom Background Image', 'rehub_framework'), 'description' => __('Upload a background image or leave blank', 'rehub_framework'), 'default' => '', ), array( 'type' => 'select', 'name' => 'rehub_header_background_repeat', 'label' => __('Background Repeat', 'rehub_framework'), 'items' => array( array( 'value' => 'repeat', 'label' => __('Repeat', 'rehub_framework'), ), array( 'value' => 'no-repeat', 'label' => __('No Repeat', 'rehub_framework'), ), array( 'value' => 'repeat-x', 'label' => __('Repeat X', 'rehub_framework'), ), array( 'value' => 'repeat-y', 'label' => __('Repeat Y', 'rehub_framework'), ), ), ), array( 'type' => 'select', 'name' => 'rehub_header_background_position', 'label' => __('Background Position', 'rehub_framework'), 'items' => array( array( 'value' => 'left', 'label' => 'Left', ), array( 'value' => 'center', 'label' => 'Center', ), array( 'value' => 'right', 'label' => 'Right', ), ), ), ), ), array( 'type' => 'section', 'title' => __('Header main menu Options', 'rehub_framework'), 'fields' => array( array( 'type' => 'select', 'name' => 'header_menuline_style', 'label' => __('Choose color style of header menu section', 'rehub_framework'), 'items' => array( array( 'value' => '0', 'label' => __('White style and dark fonts', 'rehub_framework'), ), array( 'value' => '1', 'label' => __('Dark style and white fonts', 'rehub_framework'), ), ), 'default' => array( '0', ), ), array( 'type' => 'select', 'name' => 'header_menuline_type', 'label' => __('Choose type of font and padding', 'rehub_framework'), 'items' => array( array( 'value' => '0', 'label' => __('Middle size and padding', 'rehub_framework'), ), array( 'value' => '1', 'label' => __('Compact size and padding', 'rehub_framework'), ), array( 'value' => '2', 'label' => __('Big size and padding', 'rehub_framework'), ), ), 'default' => array( '0', ), ), array( 'type' => 'textbox', 'name' => 'rehub_nav_font_custom', 'label' => __('Add custom font size', 'rehub_framework'), 'description' => __('Default is 15. Put just number', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'rehub_nav_font_upper', 'label' => __('Enable uppercase font?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_nav_font_light', 'label' => __('Enable Light font weight?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_nav_font_border', 'label' => __('Disable border of items?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_enable_menu_shadow', 'label' => __('Menu shadow', 'rehub_framework'), 'description' => __('Enable/Disable shadow under menu', 'rehub_framework'), 'default' => '1', ), array( 'type' => 'color', 'name' => 'rehub_custom_color_nav', 'label' => __('Custom color of menu background', 'rehub_framework'), 'description' => __('Or leave blank for default color', 'rehub_framework'), 'format' => 'hex', ), array( 'type' => 'color', 'name' => 'rehub_custom_color_nav_font', 'label' => __('Custom color of menu font', 'rehub_framework'), 'description' => __('Or leave blank for default color', 'rehub_framework'), 'format' => 'hex', ), ), ), array( 'type' => 'section', 'title' => __('Search', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'rehub_ajax_search', 'label' => __('Add ajax search for header search', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'multiselect', 'name' => 'rehub_search_ptypes', 'label' => __('Choose custom post type for search', 'rehub_framework'), 'description' => __('By default search form shows post and pages. You can change this here. Multiple post types are supported only for ajax search', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'rehub_get_cpost_type', ), ), ), 'default' => '', ), ), ), array( 'type' => 'section', 'title' => __('Header top line Options', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'rehub_header_top_enable', 'label' => __('Enable top line', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'select', 'name' => 'header_topline_style', 'label' => __('Choose color style of header top line', 'rehub_framework'), 'items' => array( array( 'value' => '0', 'label' => __('White style and dark fonts', 'rehub_framework'), ), array( 'value' => '1', 'label' => __('Dark style and white fonts', 'rehub_framework'), ), ), 'default' => array( '0', ), ), array( 'type' => 'color', 'name' => 'rehub_custom_color_top', 'label' => __('Custom color for top line of header', 'rehub_framework'), 'description' => __('Or leave blank for default color', 'rehub_framework'), 'format' => 'hex', ), array( 'type' => 'color', 'name' => 'rehub_custom_color_top_font', 'label' => __('Custom color of menu font for top line of header', 'rehub_framework'), 'description' => __('Or leave blank for default color', 'rehub_framework'), 'format' => 'hex', ), array( 'type' => 'textbox', 'name' => 'rehub_top_line_content', 'label' => __('Add custom content to top line', 'rehub_framework'), ), ), ), ), ), array( 'title' => __('Footer Options', 'rehub_framework'), 'name' => 'menu_3', 'icon' => 'font-awesome:fa-caret-square-down', 'controls' => array( array( 'type' => 'section', 'title' => __('Footer options', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'rehub_footer_widgets', 'label' => __('Footer Widgets', 'rehub_framework'), 'description' => __('Enable or Disable the footer widget area', 'rehub_framework'), 'default' => '1', ), array( 'type' => 'select', 'name' => 'footer_style', 'label' => __('Choose color style of footer widget section', 'rehub_framework'), 'items' => array( array( 'value' => '0', 'label' => __('Dark style and white fonts', 'rehub_framework'), ), array( 'value' => '1', 'label' => __('White style and dark fonts', 'rehub_framework'), ), ), 'default' => array( '0', ), ), array( 'type' => 'color', 'name' => 'footer_color_background', 'label' => __('Custom Background Color', 'rehub_framework'), 'description' => __('Choose the background color or leave blank for default', 'rehub_framework'), 'format' => 'hex', ), array( 'type' => 'upload', 'name' => 'footer_background_image', 'label' => __('Custom Background Image', 'rehub_framework'), 'description' => __('Upload a background image or leave blank', 'rehub_framework'), 'default' => '', ), array( 'type' => 'select', 'name' => 'footer_background_repeat', 'label' => __('Background Repeat', 'rehub_framework'), 'items' => array( array( 'value' => 'repeat', 'label' => __('Repeat', 'rehub_framework'), ), array( 'value' => 'no-repeat', 'label' => __('No Repeat', 'rehub_framework'), ), array( 'value' => 'repeat-x', 'label' => __('Repeat X', 'rehub_framework'), ), array( 'value' => 'repeat-y', 'label' => __('Repeat Y', 'rehub_framework'), ), ), ), array( 'type' => 'select', 'name' => 'footer_background_position', 'label' => __('Background Position', 'rehub_framework'), 'items' => array( array( 'value' => 'left', 'label' => 'Left', ), array( 'value' => 'center', 'label' => 'Center', ), array( 'value' => 'right', 'label' => 'Right', ), ), ), array( 'type' => 'select', 'name' => 'footer_style_bottom', 'label' => __('Choose color style of bottom section', 'rehub_framework'), 'items' => array( array( 'value' => '0', 'label' => __('Dark style and white fonts', 'rehub_framework'), ), array( 'value' => '1', 'label' => __('White style and dark fonts', 'rehub_framework'), ), ), 'default' => array( '0', ), ), array( 'type' => 'textarea', 'name' => 'rehub_footer_text', 'label' => __('Footer Bottom Text', 'rehub_framework'), 'description' => __('Enter your copyright text or whatever you want right here.', 'rehub_framework'), 'default' => '2016 Wpsoul.com Design. All rights reserved.', ), array( 'type' => 'upload', 'name' => 'rehub_footer_logo', 'label' => __('Upload Logo for footer', 'rehub_framework'), 'description' => __('Upload your logo for footer.', 'rehub_framework'), 'default' => '', ), array( 'type' => 'color', 'name' => 'fullfooter_color_background', 'label' => __('Full width Footer widget area Background', 'rehub_framework'), 'format' => 'hex', ), array( 'type' => 'toggle', 'name' => 'rehub_footer_center', 'label' => __('Footer Center Align', 'rehub_framework'), 'description' => __('Enable center align in full width Footer Widget', 'rehub_framework'), 'default' => '1', ), ), ), ), ), array( 'title' => __('Mobile & AMP', 'rehub_framework'), 'name' => 'menu_mobile', 'icon' => 'font-awesome:fa-mobile', 'controls' => array( array( 'type' => 'section', 'title' => __('General', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'rehub_logo_inmenu', 'label' => __('Enable compact logo of header on mobiles', 'rehub_framework'), 'description' => __('This will add logo to menu row and disable top section in mobile view', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'upload', 'name' => 'rehub_logo_inmenu_url', 'label' => __('Upload Logo for mobiles', 'rehub_framework'), 'description' => __('Upload your logo. Max height is 40px. By default, your main logo will be used', 'rehub_framework'), 'default' => '', 'dependency' => array( 'field' => 'rehub_logo_inmenu', 'function' => 'vp_dep_boolean', ), ), ), ), array( 'type' => 'section', 'title' => __('Mobile Sliding panel', 'rehub_framework'), 'fields' => array( array( 'type' => 'upload', 'name' => 'logo_mobilesliding', 'label' => __('Enable logo in sliding mobile panel', 'rehub_framework'), ), array( 'type' => 'upload', 'name' => 'bg_mobilesliding', 'label' => __('Enable background under logo', 'rehub_framework'), ), array( 'type' => 'color', 'name' => 'color_mobilesliding', 'label' => __('Background color under logo', 'rehub_framework'), 'format' => 'hex', ), array( 'type' => 'textarea', 'name' => 'text_mobilesliding', 'label' => __('Add custom element or shortcode', 'rehub_framework'), ), ), ), array( 'type' => 'section', 'title' => __('AMP', 'rehub_framework'), 'fields' => array( array( 'type' => 'notebox', 'name' => 'rehub_single_before_post_note', 'label' => __('Note', 'rehub_framework'), 'description' => __('Read <a href="https://wpsoul.com/amp-wordpress-setup/" target="_blank">article about AMP</a> for details. Or <a href="https://wpsoul.com/create-mobile-app-wordpress/" target="_blank">create mobile App</a>', 'rehub_framework'), 'status' => 'info', ), array( 'type' => 'upload', 'name' => 'rehub_logo_amp', 'label' => __('Load logo for AMP version', 'rehub_framework'), 'description' => __('Recommended size is 190*36', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textbox', 'name' => 'amp_fb_id', 'label' => __('Facebook AP ID', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'amp_custom_in_header_top', 'label' => __('Before Title', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'amp_custom_in_header', 'label' => __('Before content', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'amp_custom_in_footer', 'label' => __('After content', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'amp_custom_in_head_section', 'label' => __('Header section', 'rehub_framework'), 'description'=> __('Insert custom code for head section before closed HEAD tag', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'amp_custom_in_footer_section', 'label' => __('Footer section', 'rehub_framework'), 'description'=> __('Insert custom code for footer section, before closed BODY tag', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'amp_disable_default', 'label' => __('Disable default Merriweather font', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'amp_default_css_disable', 'label' => __('Disable default amp styles of theme. Disable this only if you have custom plugin for AMP', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textarea', 'name' => 'amp_custom_css', 'label' => __('Custom css', 'rehub_framework'), ), ), ), ), ), array( 'title' => __('Loop customization', 'rehub_framework'), 'name' => 'menu_loop', 'icon' => 'font-awesome:fa-file-alt', 'controls' => array( array( 'type' => 'section', 'title' => __('Woocommerce Loop', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'woo_btn_disable', 'label' => __('Disable button in ALL product loops?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'woo_compact_loop_btn', 'label' => __('Enable button in compact grid', 'rehub_framework'), 'description' => __('Will not work if you disable buttons in previous field', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'select', 'name' => 'price_meta_woogrid', 'label' => __('Show in price area of deal grid', 'rehub_framework'), 'items' => array( array( 'value' => '1', 'label' => __('Price + Content Egg synchronized offer', 'rehub_framework'), ), array( 'value' => '2', 'label' => __('Brand logo + Price', 'rehub_framework'), ), array( 'value' => '3', 'label' => __('Only Price', 'rehub_framework'), ), array( 'value' => '4', 'label' => __('Nothing', 'rehub_framework'), ), ), 'default' => array( '1', ), ), array( 'type' => 'toggle', 'name' => 'woo_aff_btn', 'label' => __('Enable affiliate links instead inner?', 'rehub_framework'), 'default' => '0', ), ), ), array( 'type' => 'section', 'title' => __('Post Loop', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'disable_btn_offer_loop', 'label' => __('Disable offer button in ALL loops?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_enable_btn_recash', 'label' => __('Enable button in deal grid layout?', 'rehub_framework'), 'description' => __('Will not work if you disable buttons in previous field', 'rehub_framework'), 'default' => 0, ), array( 'type' => 'toggle', 'name' => 'disable_grid_actions', 'label' => __('Disable comment and thumbs in deal grid layout?', 'rehub_framework'), 'default' => 0, ), array( 'type' => 'select', 'name' => 'price_meta_grid', 'label' => __('Show in price area of deal grid', 'rehub_framework'), 'items' => array( array( 'value' => '1', 'label' => __('User logo + Price', 'rehub_framework'), ), array( 'value' => '2', 'label' => __('Brand logo + Price', 'rehub_framework'), ), array( 'value' => '3', 'label' => __('Only Price', 'rehub_framework'), ), array( 'value' => '4', 'label' => __('Nothing', 'rehub_framework'), ), ), 'default' => array( '1', ), ), array( 'type' => 'toggle', 'name' => 'disable_inner_links', 'label' => __('Enable affiliate links from title and image in grid?', 'rehub_framework'), 'default' => 0, ), array( 'type' => 'toggle', 'name' => 'rehub_enable_expand', 'label' => __('Enable expand button in list layout?', 'rehub_framework'), 'description' => __('Sometimes can be buggy', 'rehub_framework'), 'default' => 0, ), array( 'type' => 'slider', 'name' => 'hot_max', 'label' => __('Hottest value', 'rehub_framework'), 'description' => __('After hot metter reach this value, scale will have hot image and 100 percent fill + will be used in hottest filter', 'rehub_framework'), 'min' => '5', 'max' => '500', 'step' => '5', 'default' => '10', ), array( 'type' => 'slider', 'name' => 'hot_min', 'label' => __('Coldest value', 'rehub_framework'), 'description' => __('After hot metter reach this value, scale will have cold image and 100 percent fill of cold', 'rehub_framework'), 'min' => '-500', 'max' => '-10', 'step' => '5', 'default' => '-10', ), ), ), ), ), array( 'title' => __('Shop settings', 'rehub_framework'), 'name' => 'menu_woo', 'icon' => 'font-awesome:fa-barcode', 'controls' => array( array( 'type' => 'section', 'title' => __('General settings', 'rehub_framework'), 'fields' => array( array( 'type' => 'notebox', 'name' => 'rehub_favicon_note', 'label' => __('Note!', 'rehub_framework'), 'description' => __('Check woocommerce shop settings docs <a href="http://rehubdocs.wpsoul.com/docs/rehub-theme/shop-options-woo-edd/" target="_blank">here</a>', 'rehub_framework'), 'status' => 'info', ), array( 'type' => 'select', 'name' => 'woo_columns', 'label' => __('How to show archives', 'rehub_framework'), 'items' => array( array( 'value' => '3_col', 'label' => __('As 3 columns with sidebar', 'rehub_framework'), ), array( 'value' => '4_col', 'label' => __('As 4 columns full width', 'rehub_framework'), ), array( 'value' => '4_col_side', 'label' => __('As 4 columns + sidebar', 'rehub_framework'), ), array( 'value' => '5_col_side', 'label' => __('As 5 columns + sidebar', 'rehub_framework'), ), ), 'default' => '3_col', 'description' => __('Use 5 columns only in Extended Width Layout (Theme option - General - Width Style) and 30 products in loop', 'rehub_framework'), ), array( 'type' => 'select', 'name' => 'woo_design', 'label' => __('Set design of woo archive', 'rehub_framework'), 'items' => array( array( 'value' => 'simple', 'label' => __('Columns', 'rehub_framework'), ), array( 'value' => 'grid', 'label' => __('Grid', 'rehub_framework'), ), array( 'value' => 'gridtwo', 'label' => __('Compact Grid', 'rehub_framework'), ), array( 'value' => 'list', 'label' => __('List', 'rehub_framework'), ), ), 'default' => 'simple', ), array( 'type' => 'select', 'name' => 'woo_number', 'label' => __('Set count of products in loop', 'rehub_framework'), 'items' => array( array( 'value' => '12', 'label' => __('12', 'rehub_framework'), ), array( 'value' => '16', 'label' => __('16', 'rehub_framework'), ), array( 'value' => '24', 'label' => __('24', 'rehub_framework'), ), array( 'value' => '30', 'label' => __('30', 'rehub_framework'), ), ), 'default' => '12', ), array( 'type' => 'select', 'name' => 'product_layout_style', 'label' => __('Product layout', 'rehub_framework'), 'default' => 'normal_post', 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'rehub_get_product_layout_array', ), ), ), 'default' => array( 'default_with_sidebar', ), ), ), ), array( 'type' => 'section', 'title' => __('Custom Code Areas', 'rehub_framework'), 'fields' => array( array( 'type' => 'textarea', 'name' => 'woo_code_zone_button', 'label' => __('After Button Area', 'rehub_framework'), 'description' => __('This code zone is visible on all products after Add to cart Button', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textarea', 'name' => 'woo_code_zone_content', 'label' => __('Before Content', 'rehub_framework'), 'description' => __('This code zone is visible on all products before Content', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textarea', 'name' => 'woo_code_zone_footer', 'label' => __('Before footer', 'rehub_framework'), 'description' => __('This code zone is visible on all products Before Footer', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textarea', 'name' => 'woo_code_zone_loop', 'label' => __('Code zone inside product loop', 'rehub_framework'), 'description' => __('This code zone is visible on shop pages inside each product item. <a href="http://rehubdocs.wpsoul.com/docs/rehub-theme/shop-options-woo-edd/extended-custom-product-areas/">Read more about code zones</a>', 'rehub_framework'), 'default' => '', ), ), ), array( 'type' => 'section', 'title' => __('Enable/Disable', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'woo_btn_inner_disable', 'label' => __('Disable button inside Product page', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'disable_woo_scripts', 'label' => __('Disable Woocommerce Cart scripts', 'rehub_framework'), 'description' => __('This will disable All Cart scripts of woocommerce. Use this only when you use woocommerce for affiliate site without cart', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'woo_exclude_expired', 'label' => __('Exclude expired products?', 'rehub_framework'), 'description' => __('This option can slow your shop pages (if you have many products)', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'woo_enable_share', 'label' => __('Enable share buttons on product page?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'select', 'name' => 'woo_cart_place', 'label' => __('Place for cart icon', 'rehub_framework'), 'items' => array( array( 'value' => '0', 'label' => __('No place', 'rehub_framework'), ), array( 'value' => '1', 'label' => __('In top line', 'rehub_framework'), ), array( 'value' => '2', 'label' => __('In main menu', 'rehub_framework'), ), ), 'default' => 'simple', ), array( 'type' => 'toggle', 'name' => 'rehub_woo_print', 'label' => __('Enable print coupon function?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'woo_helpornot', 'label' => __('Enable Help or not Buttons in reviews?', 'rehub_framework'), 'default' => '0', ), ), ), array( 'type' => 'section', 'title' => __('Synchronizations', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'wooregister_xprofile', 'label' => __('Add xprofile fields to register form?', 'rehub_framework'), 'description' => __('Set additional fields in User - Profile fields. Works only with enabled Buddypress', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'post_sync_with_user_location', 'label' => __('Synchronize product and user location?', 'rehub_framework'), 'description' => __('This works for Geo My wordpress plugin. If user has location and adds a product, product will have also his location automatically', 'rehub_framework'), 'default' => '0', ), ), ), array( 'type' => 'section', 'title' => __('Vendor settings', 'rehub_framework'), 'fields' => array( array( 'type' => 'upload', 'name' => 'wcv_vendor_bg', 'label' => __('Default background on store page', 'rehub_framework'), 'description' => __('This background will be used if user don\'t specify background for shop', 'rehub_framework'), 'default' => '', ), array( 'type' => 'upload', 'name' => 'wcv_vendor_avatar', 'label' => __('Default store logo on store page', 'rehub_framework'), 'description' => __('This logo will be used if user don\'t specify logo for shop. Recommended size is 150x150', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textbox', 'name' => 'url_for_add_product', 'label' => __('Add url of submit product page', 'rehub_framework'), 'description' => __('Use it if you want to change default submit page of WC Vendor Free. You can use our RH Frontend PRO plugin to create frontend form for woocommerce. Find it in Rehub-Plugins', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'url_for_edit_product', 'label' => __('Add url of edit product page', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'rehub_wcv_related', 'label' => __('Enable related products by vendor?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_wcv_dash_redirect', 'label' => __('Redirect users after registration form to vendor dashboard?', 'rehub_framework'), 'default' => '0', ), ), ), ), ), array( 'title' => __('Affiliate', 'rehub_framework'), 'name' => 'menu_aff', 'icon' => 'font-awesome:fa-money-bill-alt', 'controls' => array( array( 'type' => 'section', 'title' => __('Content Egg synchronization', 'rehub_framework'), 'fields' => array( array( 'type' => 'multiselect', 'name' => 'save_meta_for_ce', 'label' => __('Save data from Content Egg to post offer section', 'rehub_framework'), 'description' => __('This option will store data from Content Egg modules to main offer of post. Works only with enabled Content Egg plugin', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'get_ce_modules_id_for_sinc', ), ), ), 'default' => '', ), array( 'type' => 'textbox', 'name' => 'ce_custom_currency', 'label' => __('Custom currency', 'rehub_framework'), 'description' => __('Use this if you want to convert all prices of Content Egg into your currency. Currency in ISO 4217. Example: USD or EUR', 'rehub_framework'), ), ), ), array( 'type' => 'section', 'title' => __('Other', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'rehub_post_exclude_expired', 'label' => __('Delete all expired offers', 'rehub_framework'), 'description' => __('This will delete expired offers from archives', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'enable_brand_taxonomy', 'label' => __('Enable Affiliate Store taxonomy for posts', 'rehub_framework'), 'description' => __('When enabled, save permalinks in Settings - Permalinks', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'select', 'name' => 'brand_taxonomy_layout', 'label' => __('Select Affiliate Store Layout', 'rehub_framework'), 'items' => array( array( 'value' => 'compact_list', 'label' => __('Compact List', 'rehub_framework'), ), array( 'value' => 'regular_list', 'label' => __('Regular List Layout', 'rehub_framework'), ), array( 'value' => 'deal_grid', 'label' => __('Deal grid', 'rehub_framework'), ), array( 'value' => 'regular_grid', 'label' => __('Regular grid', 'rehub_framework'), ), array( 'value' => 'compact_grid', 'label' => __('Compact grid', 'rehub_framework'), ), ), 'default' => array( 'compact_list', ), 'dependency' => array( 'field' => 'enable_brand_taxonomy', 'function' => 'vp_dep_boolean', ), ), array( 'type' => 'textbox', 'name' => 'rehub_deal_store_tag', 'label' => __('Set custom link slug for Affiliate Store. Update permalinks after this in Settings - permalinks', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'enable_blog_posttype', 'label' => __('Enable separate blog post type', 'rehub_framework'), 'description' => __('When enabled, save permalinks in Settings - Permalinks', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textbox', 'name' => 'blog_posttype_slug', 'label' => __('Set custom blog permalink slug for Blog. Update permalinks after this in Settings - permalinks', 'rehub_framework'), 'dependency' => array( 'field' => 'enable_blog_posttype', 'function' => 'vp_dep_boolean', ), ), array( 'type' => 'textbox', 'name' => 'blog_posttypecat_slug', 'label' => __('Set custom blog permalink slug for Blog Category. Update permalinks after this in Settings - permalinks', 'rehub_framework'), 'dependency' => array( 'field' => 'enable_blog_posttype', 'function' => 'vp_dep_boolean', ), ), array( 'type' => 'textbox', 'name' => 'blog_posttypetag_slug', 'label' => __('Set custom blog permalink slug for Blog Tag. Update permalinks after this in Settings - permalinks', 'rehub_framework'), 'dependency' => array( 'field' => 'enable_blog_posttype', 'function' => 'vp_dep_boolean', ), ), array( 'type' => 'select', 'name' => 'blog_archive_layout', 'label' => __('Select Blog Archive Layout', 'rehub_framework'), 'description' => __('Select what kind of post string layout you want to use for blog, archives', 'rehub_framework'), 'items' => array( array( 'value' => 'big_blog', 'label' => __('Big images Blog Layout', 'rehub_framework'), ), array( 'value' => 'list_blog', 'label' => __('List Layout with left thumbnails', 'rehub_framework'), ), array( 'value' => 'grid_blog', 'label' => __('Grid layout', 'rehub_framework'), ), array( 'value' => 'gridfull_blog', 'label' => __('Full width Grid layout', 'rehub_framework'), ), ), 'default' => array( 'list_blog', ), 'dependency' => array( 'field' => 'enable_blog_posttype', 'function' => 'vp_dep_boolean', ), ), ), ), ), ), array( 'title' => __('Fonts Options', 'rehub_framework'), 'name' => 'menu_7', 'icon' => 'font-awesome:fa-font', 'controls' => array( array( 'type' => 'section', 'title' => __('General', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'disable_google_fonts', 'label' => __('Enable Inner Storage of Google Fonts', 'rehub_framework'), 'description' => 'Read how to use Inner Storage for Google Fonts <a href=" http://rehubdocs.wpsoul.com/docs/rehub-theme/how-to/local-google-fonts-for-gdpr/" target="_blank">in tutorial</a>', 'default' => '0', ), ), ), array( 'type' => 'section', 'title' => __('Navigation Font', 'rehub_framework'), 'fields' => array( array( 'type' => 'select', 'name' => 'rehub_nav_font', 'label' => __('Navigation Font Family', 'rehub_framework'), 'description' => __('Font for navigation', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_gwf_family', ), ), ), ), array( 'type' => 'radiobutton', 'name' => 'rehub_nav_font_style', 'label' => __('Font Style', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_nav_font', 'value' => 'vp_get_gwf_style', ), ), ), 'default' => array( '{{first}}', ), ), array( 'type' => 'radiobutton', 'name' => 'rehub_nav_font_weight', 'label' => __('Font Weight', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_nav_font', 'value' => 'vp_get_gwf_weight', ), ), ), ), array( 'type' => 'multiselect', 'name' => 'rehub_nav_font_subset', 'label' => __('Font Subset', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_nav_font', 'value' => 'vp_get_gwf_subset', ), ), ), 'default' => 'latin', ), ), ),//END NAV FONT array( 'type' => 'section', 'title' => __('Headings Font', 'rehub_framework'), 'fields' => array( array( 'type' => 'select', 'name' => 'rehub_headings_font', 'label' => __('Headings Font Family', 'rehub_framework'), 'description' => __('Font for headings in text, sidebar, footer', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_gwf_family', ), ), ), ), array( 'type' => 'radiobutton', 'name' => 'rehub_headings_font_style', 'label' => __('Font Style', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_headings_font', 'value' => 'vp_get_gwf_style', ), ), ), 'default' => array( '{{first}}', ), ), array( 'type' => 'radiobutton', 'name' => 'rehub_headings_font_weight', 'label' => __('Font Weight', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_headings_font', 'value' => 'vp_get_gwf_weight', ), ), ), ), array( 'type' => 'multiselect', 'name' => 'rehub_headings_font_subset', 'label' => __('Font Subset', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_headings_font', 'value' => 'vp_get_gwf_subset', ), ), ), 'default' => 'latin', ), array( 'type' => 'toggle', 'name' => 'rehub_headings_font_upper', 'label' => __('Enable uppercase?', 'rehub_framework'), 'default' => '0', ), ), ),//END Headings FONT array( 'type' => 'section', 'title' => __('Body Font', 'rehub_framework'), 'fields' => array( array( 'type' => 'select', 'name' => 'rehub_body_font', 'label' => __('Body Font Family', 'rehub_framework'), 'description' => __('Font for body text', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_gwf_family', ), ), ), ), array( 'type' => 'radiobutton', 'name' => 'rehub_body_font_style', 'label' => __('Font Style', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_body_font', 'value' => 'vp_get_gwf_style', ), ), ), 'default' => array( '{{first}}', ), ), array( 'type' => 'radiobutton', 'name' => 'rehub_body_font_weight', 'label' => __('Font Weight', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_body_font', 'value' => 'vp_get_gwf_weight', ), ), ), ), array( 'type' => 'multiselect', 'name' => 'rehub_body_font_subset', 'label' => __('Font Subset', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'binding', 'field' => 'rehub_body_font', 'value' => 'vp_get_gwf_subset', ), ), ), 'default' => 'latin', ), array( 'type' => 'textbox', 'name' => 'body_font_size', 'label' => __('Set body font size', 'rehub_framework'), 'description' => __('Set font size in px', 'rehub_framework'), ), ), ),//END Body FONT ), ), array( 'title' => __('Global Enable/Disable', 'rehub_framework'), 'name' => 'menu_8', 'icon' => 'font-awesome:fa-globe', 'controls' => array( array( 'type' => 'section', 'title' => __('Global options', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'rh_image_resize', 'label' => __('Disable theme resizer script', 'rehub_framework'), 'description' => __('Use wordpress resizer instead. Will slow down a site', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'aq_resize_crop', 'label' => __('Disable crop in resizer script', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'enable_lazy_images', 'label' => __('Enable lazyload script on thumbnails for better image perfomance. Sometimes can be buggy with other scripts', 'rehub_framework'), 'default' => '1', ), array( 'type' => 'toggle', 'name' => 'repick_social_disable', 'label' => __('Disable social buttons on images', 'rehub_framework'), 'description' => __('Enable/Disable buttons in grid loop', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'exclude_author_meta', 'label' => __('Disable author link', 'rehub_framework'), 'description' => __('Disable author link from meta in string', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'exclude_cat_meta', 'label' => __('Disable category link', 'rehub_framework'), 'description' => __('Disable category link from meta in string', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'exclude_date_meta', 'label' => __('Disable date', 'rehub_framework'), 'description' => __('Disable date from meta in string', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'exclude_comments_meta', 'label' => __('Disable comments count', 'rehub_framework'), 'description' => __('Disable comments count from meta in string', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'hotmeter_disable', 'label' => __('Disable hot and thumb metter', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'wishlist_disable', 'label' => __('Disable wishlist', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'select', 'name' => 'wishlistpage', 'label' => __('Select page for Wishlist', 'rehub_framework'), 'description' => __('By default, second click on heart icon will remove item from wishlist. If you set page here, such click will redirect user to wishlist page. Page must have shortcode [rh_get_user_favorites]', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_pages', ), ), ), ), array( 'type' => 'toggle', 'name' => 'wish_cache_enabled', 'label' => __('Wishlist Button Support for Cache plugins', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'thumb_only_users', 'label' => __('Allow to use hot and thumbs only for logged users', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'wish_only_users', 'label' => __('Allow to use wishlist only for logged users', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'post_view_disable', 'label' => __('Disable post view script', 'rehub_framework'), 'default' => '0', ), ), ), array( 'type' => 'section', 'title' => __('Global disabling parts on single pages', 'rehub_framework'), 'fields' => array( array( 'type' => 'multiselect', 'name' => 'rehub_ptype_formeta', 'label' => __('Duplicate Post Meta boxes', 'rehub_framework'), 'description' => __('You can enable Post offer, Post format and Post Thumbnails meta panels for other several post types here (By default, only in Posts)', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'rehub_get_cpost_type', ), ), ), 'default' => '', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_breadcrumbs', 'label' => __('Disable breadcrumbs', 'rehub_framework'), 'description' => __('Disable breadcrumbs from pages', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_share', 'label' => __('Disable share buttons', 'rehub_framework'), 'description' => __('Disable share buttons after content on pages', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_share_top', 'label' => __('Disable share buttons', 'rehub_framework'), 'description' => __('Disable share buttons before content on pages', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_social_footer', 'label' => __('Disable share buttons in footer on mobiles', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_prev', 'label' => __('Disable previous and next', 'rehub_framework'), 'description' => __('Disable previous and next post buttons', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_tags', 'label' => __('Disable tags', 'rehub_framework'), 'description' => __('Disable tags after content from pages', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_author', 'label' => __('Disable author box', 'rehub_framework'), 'description' => __('Disable author box after content from pages', 'rehub_framework'), 'default' => '1', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_relative', 'label' => __('Disable relative posts', 'rehub_framework'), 'description' => __('Disable relative posts box after content from pages', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_enable_tag_relative', 'label' => __('Enable relative posts by tags', 'rehub_framework'), 'description' => __('By default, relative posts use category as base, you can switch to tags', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_feature_thumb', 'label' => __('Disable top thumbnail on single page', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rehub_disable_comments', 'label' => __('Disable standart comments', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textarea', 'name' => 'rehub_widget_comments', 'label' => __('Insert comments widget code', 'rehub_framework'), 'description' => __('You can set here comments widget, for example, from disqus', 'rehub_framework'), ), ), ), ), ), array( 'title' => __('Ads Options', 'rehub_framework'), 'name' => 'menu_9', 'icon' => 'font-awesome:fa-bullhorn', 'controls' => array( array( 'type' => 'section', 'title' => __('Ads code in header and footer', 'rehub_framework'), 'fields' => array( array( 'type' => 'textarea', 'name' => 'rehub_ads_top', 'label' => __('Header area', 'rehub_framework'), 'description' => __('This banner code will be visible in header. Width of this zone depends on style of header (You can choose it in Header and menu tab)', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textarea', 'name' => 'rehub_ads_megatop', 'label' => __('Before header area', 'rehub_framework'), 'description' => __('This banner code will be visible before header.', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textarea', 'name' => 'rehub_ads_infooter', 'label' => __('Before footer area', 'rehub_framework'), 'description' => __('This banner code will be visible before footer', 'rehub_framework'), 'default' => '', ), ), ), array( 'type' => 'section', 'title' => __('Global code for single page', 'rehub_framework'), 'fields' => array( array( 'type' => 'textarea', 'name' => 'rehub_single_after_title', 'label' => __('After title area', 'rehub_framework'), 'description' => __('This code will be visible after title', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textarea', 'name' => 'rehub_single_before_post', 'label' => __('Before content area', 'rehub_framework'), 'description' => __('This code will be visible before post content', 'rehub_framework'), 'default' => '', ), array( 'type' => 'notebox', 'name' => 'rehub_single_before_post_note', 'label' => __('Tips', 'rehub_framework'), 'description' => __('You can wrap your code with <div class="right_code">your ads code</div> if you want to add right float or <div class="left_code">your ads code</div> for left float. Please, use square ads with width 250-300px for floated ads.', 'rehub_framework'), 'status' => 'info', ), array( 'type' => 'textarea', 'name' => 'rehub_single_code', 'label' => __('After post area', 'rehub_framework'), 'description' => __('This code will be visible after post', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textarea', 'name' => 'rehub_shortcode_ads', 'label' => __('Insert custom ads code for shortcode', 'rehub_framework'), 'description' => __('You can insert this code in any place of content by shortcode [wpsm_ads1]', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'rehub_shortcode_ads_2', 'label' => __('Insert custom ads code for shortcode', 'rehub_framework'), 'description' => __('You can insert this code in any place of content by shortcode [wpsm_ads2]', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'rehub_ads_coupon_area', 'label' => __('Coupon area', 'rehub_framework'), 'description' => __('This banner code will be visible in coupon modal', 'rehub_framework'), 'default' => '', ), ), ), array( 'type' => 'section', 'title' => __('Global branded area', 'rehub_framework'), 'fields' => array( array( 'type' => 'notebox', 'name' => 'rehub_branded_banner_note', 'label' => __('Note', 'rehub_framework'), 'description' => __('Branded area displays after header. You can set direct link on image or insert any html code or shortcode', 'rehub_framework'), 'status' => 'normal', ), array( 'type' => 'textarea', 'name' => 'rehub_branded_banner_image', 'label' => __('Branded area', 'rehub_framework'), 'description' => __('Set any custom code or link to image', 'rehub_framework'), 'default' => '', ), ), ), ), ), array( 'title' => __('Reviews', 'rehub_framework'), 'name' => 'menu_10', 'icon' => 'font-awesome:fa-signal', 'controls' => array( array( 'type' => 'section', 'title' => __('Reviews, links, rating', 'rehub_framework'), 'fields' => array( array( 'type' => 'select', 'name' => 'type_user_review', 'label' => __('Type of user ratings', 'rehub_framework'), 'items' => array( array( 'value' => 'simple', 'label' => __('simple rating, no criterias', 'rehub_framework'), ), array( 'value' => 'full_review', 'label' => __('full review with criterias and pros, cons', 'rehub_framework'), ), array( 'value' => 'user', 'label' => __('Show only user\'s reviews with criterias (don\'t show editor\'s review)', 'rehub_framework'), ), array( 'value' => 'none', 'label' => __('none', 'rehub_framework'), ), ), 'default' => 'simple', ), array( 'type' => 'select', 'name' => 'type_total_score', 'label' => __('How to calculate total score of review', 'rehub_framework'), 'items' => array( array( 'value' => 'editor', 'label' => __('based on Expert Score', 'rehub_framework'), ), array( 'value' => 'average', 'label' => __('average (editor\'s and user\'s)', 'rehub_framework'), ), array( 'value' => 'user', 'label' => __('based on user\'s', 'rehub_framework'), ), ), 'dependency' => array( 'field' => 'type_user_review', 'function' => 'rehub_framework_rev_type', ), 'default' => 'average', ), array( 'type' => 'textbox', 'name' => 'rehub_user_rev_criterias', 'label' => __('User review criteria names', 'rehub_framework'), 'description' => __('Type with commas and no spaces. Example: Design,Price,Battery life', 'rehub_framework'), 'dependency' => array( 'field' => 'type_user_review', 'function' => 'user_rev_type', ), ), array( 'type' => 'select', 'name' => 'type_schema_review', 'label' => __('Type of schema for reviews', 'rehub_framework'), 'items' => array( array( 'value' => 'editor', 'label' => __('Based on editor\'s review', 'rehub_framework'), ), array( 'value' => 'user', 'label' => __('Based on user reviews', 'rehub_framework'), ), array( 'value' => 'none', 'label' => __('Disable all and use your custom', 'rehub_framework'), ), ), 'default' => 'editor', ), array( 'type' => 'textbox', 'name' => 'rehub_org_name_review', 'label' => __('Place organization name', 'rehub_framework'), 'description' => __('This is for seo purpose. Must be short name. Also, set correct logo width and height in theme option - logo option', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'enable_btn_userreview', 'label' => __('Enable plus and minus buttons', 'rehub_framework'), 'description' => __('This will work only in user reviews', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'select', 'name' => 'allowtorate', 'label' => __('Allow to rate posts', 'rehub_framework'), 'description' => __('Who can rate review posts?', 'rehub_framework'), 'items' => array( array( 'value' => 'guests', 'label' => __('guests', 'rehub_framework'), ), array( 'value' => 'users', 'label' => __('users', 'rehub_framework'), ), array( 'value' => 'guests_users', 'label' => __('guests and users', 'rehub_framework'), ), ), 'default' => 'guests_users', ), array( 'type' => 'color', 'name' => 'rehub_review_color', 'label' => __('Default color for editor\'s review box and total score', 'rehub_framework'), 'description' => __('Choose the background color or leave blank for default red color', 'rehub_framework'), 'format' => 'hex', ), array( 'type' => 'color', 'name' => 'rehub_review_color_user', 'label' => __('Default color for user review box and user stars', 'rehub_framework'), 'description' => __('Choose the background color or leave blank for default blue color', 'rehub_framework'), 'format' => 'hex', ), ), ), array( 'type' => 'section', 'title' => __('Add review fields to frontend form', 'rehub_framework'), 'fields' => array( array( 'type' => 'textbox', 'name' => 'rh_front_reviewform_id', 'label' => __('Type form ID', 'rehub_framework'), 'description' => __('Set form ID (RH Frontend publishing plugin) where you want to add review fields. You can download plugin in Rehub - Plugins tab. ', 'rehub_framework'), 'default' => '', ), array( 'type' => 'textbox', 'name' => 'rh_front_review_fields', 'label' => __('Type names of criterias', 'rehub_framework'), 'description' => __('Type names of criterias for review form with commas without spaces', 'rehub_framework'), 'default' => '', ), ), ), ), ), array( 'title' => __('Localization', 'rehub_framework'), 'name' => 'menu_loc', 'icon' => 'font-awesome:fa-language', 'controls' => array( array( 'type' => 'section', 'title' => __('Localization', 'rehub_framework'), 'fields' => array( array( 'type' => 'select', 'name' => 'price_pattern', 'label' => __('Choose price pattern', 'rehub_framework'), 'items' => array( array( 'value' => 'us', 'label' => __('USA. Example: 1000.00', 'rehub_framework'), ), array( 'value' => 'eu', 'label' => __('EU. Example: 1000,00', 'rehub_framework'), ), array( 'value' => 'in', 'label' => __('IN. Example: 1,000.00', 'rehub_framework'), ), ), 'default' => 'us', ), array( 'type' => 'textbox', 'name' => 'rehub_btn_text', 'label' => __('Set text for button', 'rehub_framework'), 'description' => __('It will be used on button for product reviews, top rating pages instead BUY THIS ITEM', 'rehub_framework'), 'validation' => 'maxlength[14]', ), array( 'type' => 'textbox', 'name' => 'rehub_mask_text', 'label' => __('Set text for coupon mask', 'rehub_framework'), 'description' => __('It will be used on coupon mask instead REVEAL COUPON', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_btn_text_aff_links', 'label' => __('Set text for button', 'rehub_framework'), 'description' => __('It will be used on button for products with list of links instead CHOOSE OFFER.', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_readmore_text', 'label' => __('Set text for read more link', 'rehub_framework'), 'description' => __('It will be used instead READ MORE', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'buy_best_text', 'label' => __('Set text for comparison list layout', 'rehub_framework'), 'description' => __('It will be used instead BUY FOR BEST PRICE', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_review_text', 'label' => __('Set text for full review link', 'rehub_framework'), 'description' => __('It will be used in top review pages instead READ FULL REVIEW', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_search_text', 'label' => __('Set text for Search placeholder', 'rehub_framework'), 'description' => __('It will be used in default search form instead SEARCH', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_commenttitle_text', 'label' => __('Set text for comment title, when no comments', 'rehub_framework'), 'description' => __('It will be used instead: We will be happy to see your thoughts', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rehub_related_text', 'label' => __('Set text for Related article title', 'rehub_framework'), 'description' => __('It will be used instead Related Articles', 'rehub_framework'), ), ), ), ), ), array( 'title' => __('User options', 'rehub_framework'), 'name' => 'usersmenus', 'icon' => 'font-awesome:fa-user', 'controls' => array( array( 'type' => 'section', 'title' => __('Options for User login popup', 'rehub_framework'), 'fields' => array( array( 'type' => 'notebox', 'name' => 'rehub_user_note', 'label' => __('Note!', 'rehub_framework'), 'description' => __('Please, read about user functions in our <a href="http://rehubdocs.wpsoul.com/docs/rehub-theme/user-submit-memberships-profiles/" target="_blank">documentation</a>.', 'rehub_framework'), 'status' => 'info', ), array( 'type' => 'toggle', 'name' => 'userlogin_enable', 'label' => __('Enable user login modal?', 'rehub_framework'), 'description' => __('If you disable this, user modal will not work', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textbox', 'name' => 'custom_msg_popup', 'label' => __('Add custom message', 'rehub_framework'), 'description' => __('Add text or shortcode in registration popup', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'custom_login_url', 'label' => __('Type url for login button', 'rehub_framework'), 'description' => __('By default, login button triggers login popup, but you can redirect users to any link with registration form if you set this field. Login popup will not work in this case', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'custom_register_link', 'label' => __('Add custom register link', 'rehub_framework'), 'description' => __('Add custom link if you want to use custom register page instead of sign up in popup', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'custom_redirect_after_login', 'label' => __('Add custom redirect after login url', 'rehub_framework'), 'description' => __('You can also use placeholder %%userlogin%% in url, which will be replaced by user login', 'rehub_framework'), ), array( 'type' => 'select', 'name' => 'rehub_login_icon', 'label' => __('Add additional login icon in header', 'rehub_framework'), 'description' => __('You can also add login-register link to any place with shortcode [wpsm_user_modal]', 'rehub_framework'), 'items' => array( array( 'value' => 'no', 'label' => __('No additional icon', 'rehub_framework'), ), array( 'value' => 'top', 'label' => __('In top line', 'rehub_framework'), ), array( 'value' => 'menu', 'label' => __('In main menu', 'rehub_framework'), ), ), 'default' => array( 'no', ), ), array( 'type' => 'textbox', 'name' => 'userlogin_term_page', 'label' => __('Terms and conditions page url for popup', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'userlogin_policy_page', 'label' => __('Privacy Policy page url for popup', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'userlogin_submit_page', 'label' => __('Select url for post submit form', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'userlogin_submit_page_label', 'label' => __('Select label for post submit form', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'userlogin_edit_page', 'label' => __('Select url for post edit form', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'userlogin_edit_page_label', 'label' => __('Select label for post edit form', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'remove_admin_bar', 'label' => __('Disable admin bar for users?', 'rehub_framework'), 'description' => __('Only admin can see admin bar', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'enable_comment_link', 'label' => __('Enable link on user profile in comment?', 'rehub_framework'), 'description' => __('Can slow a bit your site if you have many comments', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textbox', 'name' => 'rh_sync_role', 'label' => __('Synchronize one role to other', 'rehub_framework'), 'description' => __('Useful, when you sychronize wordpress role to roles of Membership plugins and you want to deactivate/activate this role when user gets new role from another plugin. Example of settings:<br /><br />vendor:s2member_level0:s2member_level1,s2member_level2<br /><br />First name is role which you want to synchronize (you can set any other, for example seller - for Dokan or dc_vendor for WC Marketplace), next set which is divided by ":" is role which will trigger removing of this role. Next set is roles which will trigger adding this role. If you don\'t use any vendor plugin and want to allow users from S2 member to upload media, set next<br /><br /> contributor:s2member_level0:s2member_level1,s2member_level2<br /><br />', 'rehub_framework'), ), ), ), ), ), array( 'title' => __('Buddypress options', 'rehub_framework'), 'name' => 'bpoptions', 'icon' => 'font-awesome:fa-users', 'controls' => array( array( 'type' => 'section', 'title' => __('BuddyPress', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'bp_redirect', 'label' => __('Enable redirect to BP profiles?', 'rehub_framework'), 'description' => __('By default, user link goes to author page. You can redirect all author links from posts to BuddyPress profiles', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'bp_group_widget_area', 'label' => __('Add additional sidebar area for Group pages?', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'upload', 'name' => 'rehub_bpheader_image', 'label' => __('Default background image in header. Recommended size 1900x260', 'rehub_framework'), 'description' => __('Upload a background image or leave blank', 'rehub_framework'), 'default' => '', ), array( 'type' => 'select', 'name' => 'bp_deactivateemail_confirm', 'label' => __('Synchronization between login popup and BP', 'rehub_framework'), 'description' => __('You can enable BP registration logic in theme login popup', 'rehub_framework'), 'items' => array( array( 'value' => '1', 'label' => __('Disable email and BP activation', 'rehub_framework'), ), array( 'value' => 'bp', 'label' => __('Enable BP and email activation', 'rehub_framework'), ), ), 'default' => array( 'bp', ), ), array( 'type' => 'toggle', 'name' => 'userpopup_xprofile', 'label' => __('Add xprofile fields to register modal form?', 'rehub_framework'), 'description' => __('Set additional fields in User - Profile fields. Works only with enabled Buddypress', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textbox', 'name' => 'rh_bp_seo_description', 'label' => __('Add name of Xprofile field for seo Description', 'rehub_framework'), 'description' => __('You can create such field in Users - Profile fields if you have enabled Extended Profiles in Settings - Buddypress', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rh_bp_phone', 'label' => __('Add name of Xprofile field for Phone', 'rehub_framework'), 'description' => __('You can create such field in Users - Profile fields if you have enabled Extended Profiles in Settings - Buddypress', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'rh_bp_custom_message_profile', 'label' => __('Add custom message or html in profile of User', 'rehub_framework'), 'description' => __('You can use shortcodes to show additional info inside Profile tab of user Profile. For example, shortcodes from S2Member plugin or any conditional information. If you want to show information for owner of profile, wrap it with shortcode [rh_is_bpmember_profile]Content[/rh_is_bpmember_profile]', 'rehub_framework'), ), ), ), array( 'type' => 'section', 'title' => __('Posts Profile tab', 'rehub_framework'), 'fields' => array( array( 'type' => 'textbox', 'name' => 'rh_bp_user_post_name', 'label' => __('Add Name of Posts tab in Profile', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rh_bp_user_post_slug', 'label' => __('Add slug of Posts tab', 'rehub_framework'), 'description' => __('Use only latin symbols, without spaces', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rh_bp_user_post_pos', 'label' => __('Add position of tab', 'rehub_framework'), 'default' => '20', ), array( 'type' => 'select', 'name' => 'rh_bp_user_post_newpage', 'label' => __('Assign page for Add new posts', 'rehub_framework'), 'description' => __('Choose page where you have frontend form for posts. Content of this page will be assigned to tab. You can use bundled RH Frontend PRO to create such form.', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_pages', ), ), ), ), array( 'type' => 'select', 'name' => 'rh_bp_user_post_editpage', 'label' => __('Assign page for Edit Posts', 'rehub_framework'), 'description' => __('Choose page where you have EDIT form for posts. If you use RH Frontend Form, such page, usually, has shortcode like [wpfepp_post_table form="1" show_all=0]', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_pages', ), ), ), ), array( 'type' => 'textbox', 'name' => 'rh_bp_user_post_type', 'label' => __('Add member type', 'rehub_framework'), 'description' => __('If you want to show tab only for special member type, add here slug of this member type. Note, Buddypress member type is not the same as wordpress role', 'rehub_framework'), ), ), ), array( 'type' => 'section', 'title' => __('Product Profile tab', 'rehub_framework'), 'fields' => array( array( 'type' => 'textbox', 'name' => 'rh_bp_user_product_name', 'label' => __('Add Name of Product tab in Profile', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rh_bp_user_product_slug', 'label' => __('Add slug of Product tab', 'rehub_framework'), 'description' => __('Use only latin symbols, without spaces', 'rehub_framework'), ), array( 'type' => 'textbox', 'name' => 'rh_bp_user_product_pos', 'label' => __('Add position of tab', 'rehub_framework'), 'default' => '21', ), array( 'type' => 'select', 'name' => 'rh_bp_user_product_newpage', 'label' => __('Assign page for Add new Product', 'rehub_framework'), 'description' => __('Choose page where you have frontend form for Product. Content of this page will be assigned to tab. You can use bundled RH Frontend PRO to create such form.', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_pages', ), ), ), ), array( 'type' => 'select', 'name' => 'rh_bp_user_product_editpage', 'label' => __('Assign page for Edit Product', 'rehub_framework'), 'description' => __('Choose page where you have EDIT form for products. If you use RH Frontend Form, such page, usually, has shortcode like [wpfepp_post_table form="1" show_all=0]', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_pages', ), ), ), ), array( 'type' => 'textbox', 'name' => 'rh_bp_user_product_type', 'label' => __('Add member type', 'rehub_framework'), 'description' => __('If you want to show tab only for special member type, add here slug of this member type. Note, Buddypress member type is not the same as wordpress role', 'rehub_framework'), ), ), ), array( 'type' => 'section', 'title' => __('MyCred Options', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'bp_enable_mycred_comment_badge', 'label' => __('Enable badges from MyCred plugin in comments for Buddypress?', 'rehub_framework'), 'description' => __('Can slow your activity pages', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'toggle', 'name' => 'rh_enable_mycred_comment', 'label' => __('Enable badges, points, ranks from MyCred plugin in regular comments?', 'rehub_framework'), 'description' => __('Can slow your single pages', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textbox', 'name' => 'rh_mycred_custom_points', 'label' => __('Show custom point type instead default', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'rh_award_role_mycred', 'label' => __('Give user roles for their Mycred Points', 'rehub_framework'), 'description' => __('If you use MyCred plugin and want to give user new role once he gets definite points, you can use this area. Syntaxis is next: role:1000. Where role is role which you want to give and 1000 is amount of points to get this role. Place each role with next line. Place them in ASC mode. First line, for example, 10 points, next is 100. Function also works as opposite. ', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'rh_award_type_mycred', 'label' => __('Give BP member types instead of roles?', 'rehub_framework'), 'description' => __('If you want to give users member types instead of roles which are set above, enable this', 'rehub_framework'), 'default' => '0', ), ), ), ), ), array( 'title' => __('Dynamic comparison', 'rehub_framework'), 'name' => 'compare', 'icon' => 'font-awesome:fa-database', 'controls' => array( array( 'type' => 'notebox', 'name' => 'rehub_user_note', 'label' => __('Note!', 'rehub_framework'), 'description' => __('Please, read about dynamic comparison in our <a href="http://rehubdocs.wpsoul.com/docs/rehub-theme/comparisons-tables-charts-lists/dynamic-comparison-charts/" target="_blank">documentation</a>.', 'rehub_framework'), 'status' => 'info', ), array( 'type' => 'section', 'title' => __('Options for single group dynamic comparison', 'rehub_framework'), 'fields' => array( array( 'type' => 'select', 'name' => 'compare_page', 'label' => __('Select page for comparison', 'rehub_framework'), 'description' => __('Page must have top chart constructor template', 'rehub_framework'), 'items' => array( 'data' => array( array( 'source' => 'function', 'value' => 'vp_get_pages', ), ), ), ), ), ), array( 'type' => 'section', 'title' => __('Options for multigroup dynamic comparison', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'compare_multicats_toggle', 'label' => __('Enable Multicategory compare', 'rehub_framework'), 'description' => __('Before set, please, create pages for each comparison group', 'rehub_framework'), ), array( 'type' => 'textarea', 'name' => 'compare_multicats_textarea', 'label' => __('Assign categories to pages', 'rehub_framework'), 'description' => __('Example: 1,2,3;Title;23, where 1,2,3 - category IDs, Title - a general name for category group, 23 - a page ID of comparison. You can add also custom taxonomy in the end. By default, categories will be used. Delimiter is ";"<br/><br/>Attention: for woocommerce category comparison, use next: 1,2,3;Title;23;product_cat', 'rehub_framework'), 'dependency' => array( 'field' => 'compare_multicats_toggle', 'function' => 'vp_dep_boolean', ), ), ), ), array( 'type' => 'section', 'title' => __('Common', 'rehub_framework'), 'fields' => array( array( 'type' => 'toggle', 'name' => 'compare_disable_button', 'label' => __('Disable button in right side', 'rehub_framework'), 'description' => __('You can disable button with compare icon on right side of site. You can place this icon in header. Use Shop/Comparison header in theme option - header and menu - Header layout', 'rehub_framework'), ), array( 'type' => 'toggle', 'name' => 'woo_rhcompare', 'label' => __('Enable dynamic comparison for woocommerce?', 'rehub_framework'), 'description' => __('You can use [wpsm_woocharts] on page for comparison', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textbox', 'name' => 'compare_woo_cats', 'label' => __('Set ids of product categories where to show button. Leave blank to show in all products', 'rehub_framework'), 'dependency' => array( 'field' => 'woo_rhcompare', 'function' => 'vp_dep_boolean', ), ), array( 'type' => 'toggle', 'name' => 'compare_btn_single', 'label' => __('Enable compare button in posts?', 'rehub_framework'), 'description' => __('You can also use [wpsm_compare_button] to insert button to any place', 'rehub_framework'), 'default' => '0', ), array( 'type' => 'textbox', 'name' => 'compare_btn_cats', 'label' => __('Set ids of post categories where to show button', 'rehub_framework'), 'dependency' => array( 'field' => 'compare_btn_single', 'function' => 'vp_dep_boolean', ), ), ), ), ), ), array( 'title' => __('Custom badges for posts', 'rehub_framework'), 'name' => 'badges', 'icon' => 'font-awesome:fa-certificate', 'controls' => array( array( 'type' => 'section', 'title' => __('First badge', 'rehub_framework'), 'fields' => array( array( 'type' => 'html', 'name' => 'admin_badge_preview_1', 'binding' => array( 'field' => 'badge_label_1, badge_color_1', 'function' => 'admin_badge_preview_html', ), ), array( 'type' => 'textbox', 'name' => 'badge_label_1', 'label' => __('Label', 'rehub_framework'), 'default' => __('Editor choice', 'rehub_framework'), 'validation' => 'maxlength[20]', ), array( 'type' => 'color', 'name' => 'badge_color_1', 'label' => __('Color', 'rehub_framework'), 'format' => 'hex', ), ), ), array( 'type' => 'section', 'title' => __('Second badge', 'rehub_framework'), 'fields' => array( array( 'type' => 'html', 'name' => 'admin_badge_preview_2', 'binding' => array( 'field' => 'badge_label_2, badge_color_2', 'function' => 'admin_badge_preview_html', ), ), array( 'type' => 'textbox', 'name' => 'badge_label_2', 'label' => __('Label', 'rehub_framework'), 'default' => __('Best seller', 'rehub_framework'), 'validation' => 'maxlength[20]', ), array( 'type' => 'color', 'name' => 'badge_color_2', 'label' => __('Color', 'rehub_framework'), 'format' => 'hex', ), ), ), array( 'type' => 'section', 'title' => __('Third badge', 'rehub_framework'), 'fields' => array( array( 'type' => 'html', 'name' => 'admin_badge_preview_3', 'binding' => array( 'field' => 'badge_label_3, badge_color_3', 'function' => 'admin_badge_preview_html', ), ), array( 'type' => 'textbox', 'name' => 'badge_label_3', 'label' => __('Label', 'rehub_framework'), 'default' => __('Best value', 'rehub_framework'), 'validation' => 'maxlength[20]', ), array( 'type' => 'color', 'name' => 'badge_color_3', 'label' => __('Color', 'rehub_framework'), 'format' => 'hex', ), ), ), array( 'type' => 'section', 'title' => __('Fourth badge', 'rehub_framework'), 'fields' => array( array( 'type' => 'html', 'name' => 'admin_badge_preview_4', 'binding' => array( 'field' => 'badge_label_4, badge_color_4', 'function' => 'admin_badge_preview_html', ), ), array( 'type' => 'textbox', 'name' => 'badge_label_4', 'label' => __('Label', 'rehub_framework'), 'default' => __('Best price', 'rehub_framework'), 'validation' => 'maxlength[20]', ), array( 'type' => 'color', 'name' => 'badge_color_4', 'label' => __('Color', 'rehub_framework'), 'format' => 'hex', ), ), ), ), ), array( 'title' => __('Social Media Options', 'rehub_framework'), 'name' => 'menu_5', 'icon' => 'font-awesome:fa-dove', 'controls' => array( array( 'type' => 'section', 'title' => __('Social Media Pages', 'rehub_framework'), 'fields' => array( array( 'type' => 'textbox', 'name' => 'rehub_facebook', 'label' => __('Facebook link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_twitter', 'label' => __('Twitter link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_google', 'label' => __('Google plus link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_instagram', 'label' => __('Instagram link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_wa', 'label' => __('WhatsApp link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_youtube', 'label' => __('Youtube link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_vimeo', 'label' => __('Vimeo link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_pinterest', 'label' => __('Pinterest link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_linkedin', 'label' => __('Linkedin link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_soundcloud', 'label' => __('Soundcloud link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_vk', 'label' => __('Vk.com link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_telegram', 'label' => __('Telegram link', 'rehub_framework'), 'validation' => 'url', ), array( 'type' => 'textbox', 'name' => 'rehub_rss', 'label' => __('Rss link', 'rehub_framework'), 'validation' => 'url', ), ), ), ), ), ); /** *EOF */
[+]
..
[-] option.php
[edit]
[-] option_common.php
[edit]