芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/ebpt.pulsehost.co.uk/wp-content/plugins/lte-ext/redux/sections/general.php
esc_html__( 'General Options', 'tofit' ), 'id' => 'general', 'icon' => 'el el-home', ] ); Redux::set_section( $opt_name, [ 'title' => esc_html__( 'General Options', 'tofit' ), 'id' => 'general-options', 'subsection' => true, 'fields' => [ [ 'id' => 'google_api', 'type' => 'text', 'title' => __( 'Google Maps API Key', 'tofit' ), ], [ 'id' => 'widgets_block', 'type' => 'switch', 'title' => __( 'Enable Block Widgets', 'tofit' ), ], ] ] ); Redux::set_section( $opt_name, [ 'title' => esc_html__( 'Media', 'tofit' ), 'id' => 'media', // 'icon' => 'el el-home', 'subsection' => true, 'fields' => [ [ 'id' => 'logo_big_height', 'type' => 'slider', 'title' => __( 'Logo Big Max Height, px', 'tofit' ), 'min' => 1, 'max' => 200, 'default' => $tofit_theme_config['logo_height'], ], [ 'id' => 'logo_height', 'type' => 'slider', 'title' => __( 'Logo Max Height, px', 'tofit' ), 'min' => 1, 'max' => 200, 'default' => $tofit_theme_config['logo_height'], ], [ 'id' => 'logo', 'type' => 'media', 'title' => __( 'Logo Black', 'tofit' ), ], [ 'id' => 'logo_2x', 'type' => 'media', 'title' => __( 'Logo Black 2x', 'tofit' ), ], [ 'id' => 'logo_white', 'type' => 'media', 'title' => __( 'Logo White', 'tofit' ), ], [ 'id' => 'logo_white_2x', 'type' => 'media', 'title' => __( 'Logo White 2x', 'tofit' ), ], [ 'id' => 'logo_hide', 'type' => 'switch', 'title' => __( 'Hide Logo', 'tofit' ), ], [ 'id' => 'theme-icon-header', 'type' => 'icon_select', 'title' => __( 'Headers icon', 'tofit' ), 'stylesheet' => array( array( 'url' => get_template_directory_uri() . '/assets/fonts/lte-font.css?1.0.0', 'title' => 'Tofit Icons', 'prefix' => 'icon', ), ), ], [ 'id' => 'theme-icon-main', 'type' => 'icon_select', 'title' => __( 'Widgets Headers icon', 'tofit' ), 'stylesheet' => array( array( 'url' => get_template_directory_uri() . '/assets/fonts/lte-font.css?1.0.0', 'title' => 'Tofit Icons', 'prefix' => 'icon', ), ), ], [ 'id' => 'widgets_header_img', 'type' => 'media', 'title' => __( 'Widget Headers Image', 'tofit' ), ], [ 'id' => 'widgets_bg', 'type' => 'media', 'title' => __( 'Search Widgets Background', 'tofit' ), ], [ 'id' => 'sidebar_bg', 'type' => 'media', 'title' => __( 'Sidebar Background', 'tofit' ), ], [ 'id' => 'nav_pattern', 'type' => 'media', 'title' => __( 'Navbar Pattern', 'tofit' ), ], [ 'id' => '404-img', 'type' => 'media', 'title' => __( '404 Page Image', 'tofit' ), ], ] ] );