'.__('建议高80px,长小于360px','io_setting'), 'default' => array( 'url' => get_theme_file_uri( '/images/logo@2x.png'), 'thumbnail' => get_theme_file_uri( '/images/logo@2x.png'), ), ), array( 'id' => 'logo_normal_light', 'type' => 'media', 'title' => __('亮色主题Logo','io_setting'), 'add_title' => __('上传','io_setting'), 'after' => '
'.__('建议高80px,长小于360px','io_setting'), 'default' => array( 'url' => get_theme_file_uri('/images/logo_l@2x.png'), 'thumbnail' => get_theme_file_uri('/images/logo_l@2x.png'), ), ), array( 'id' => 'logo_small', 'type' => 'media', 'title' => __('方形 Logo','io_setting'), 'add_title' => __('上传','io_setting'), 'after' => '
'.__('建议 80x80','io_setting'), 'default' => array( 'url' => get_theme_file_uri('/images/logo-collapsed@2x.png'), 'thumbnail' => get_theme_file_uri('/images/logo-collapsed@2x.png'), ), ), array( 'id' => 'logo_small_light', 'type' => 'media', 'title' => __('亮色主题方形 Logo','io_setting'), 'add_title' => __('上传','io_setting'), 'after' => '
'.__('建议 80x80','io_setting'),
'default' => array(
'url' => get_theme_file_uri('/images/logo-dark_collapsed@2x.png'),
'thumbnail' => get_theme_file_uri('/images/logo-dark_collapsed@2x.png'),
),
),
array(
'id' => 'favicon',
'type' => 'media',
'title' => __('上传 Favicon','io_setting'),
'add_title' => __('上传','io_setting'),
'default' => array(
'url' => get_theme_file_uri('/images/favicon.png'),
'thumbnail' => get_theme_file_uri('/images/favicon.png'),
),
),
array(
'id' => 'apple_icon',
'type' => 'media',
'title' => __('上传 apple_icon','io_setting'),
'add_title' => __('上传','io_setting'),
'default' => array(
'url' => get_theme_file_uri('/images/app-ico.png'),
'thumbnail' => get_theme_file_uri('/images/app-ico.png'),
),
),
)
));
//
// 主题颜色
//
CSF::createSection( $prefix, array(
'title' => __('颜色效果','io_setting'),
'icon' => 'fa fa-tachometer',
'fields' => array(
array(
'id' => 'theme_mode',
'type' => 'radio',
'title' => __('颜色主题','io_setting'),
'default' => 'io-white-mode',
'inline' => true,
'options' => array(
'io-black-mode' => __('暗色','io_setting'),
'io-white-mode' => __('黑白','io_setting'),
'io-grey-mode' => __('亮灰','io_setting'),
),
'after' => __('如果在前台通过“主题切换开关”手动切换主题,此设置无效,或者清除浏览器cookie才能生效','io_setting')
),
array(
'id' => 'loading_fx',
'type' => 'switcher',
'title' => __('全屏加载效果','io_setting'),
'default' => false,
),
array(
'id' => 'custom_color',
'type' => 'switcher',
'title' => __('自定义颜色','io_setting'),
'default' => false,
),
array(
'id' => 'bnt_c',
'type' => 'color_group',
'title' => '按钮颜色',
'options' => array(
'color' => '默认颜色',
'color-t' => '默认文字颜色',
'hover' => 'hover 颜色',
'hover-t' => 'hover 文字颜色',
),
'default' => array(
'color' => '#f1404b',
'color-t' => '#ffffff',
'hover' => '#14171B',
'hover-t' => '#ffffff',
),
'dependency' => array( 'custom_color', '==', true )
),
array(
'id' => 'link_c',
'type' => 'link_color',
'title' => '文章 a 链接颜色',
'default' => array(
'color' => '#f1404b',
'hover' => '#f9275f',
),
'dependency' => array( 'custom_color', '==', true )
),
array(
'id' => 'card_a_c',
'type' => 'color',
'title' => '卡片链接高亮',
'default' => '#f1404b',
'dependency' => array( 'custom_color', '==', true )
),
array(
'id' => 'piece_c',
'type' => 'color',
'title' => '高亮色块',
'default' => '#f1404b',
'dependency' => array( 'custom_color', '==', true )
),
)
));
//
// 基础设置
//
CSF::createSection( $prefix, array(
'title' => __('基础设置','io_setting'),
'icon' => 'fa fa-th-large',
'fields' => array(
array(
'id' => 'iowen_key',
'type' => 'text',
'title' => __('iowen 在线服务 key','io_setting'),
'after' => '
'.__('此 key 用于
1、添�