File: /www/wwwroot/www.213n.cn/wp-content/themes/rk-blogger/wbc/settings/json/fields.json
{
"general": {
"label": "常规设置",
"group": "base",
"slug": "general",
"fields": [
{
"label": "网站Logo",
"slug": "logo_url",
"type": "img",
"attrs": {
"btn": "选择图片"
},
"remark": {
"style": "block",
"content": "展示时高度为60像素,建议准备高度至少为120像素(包括上下留白)的图片,宽度随高度等比例显示。"
}
},
{
"label": "Favicon",
"slug": "favicon",
"type": "img",
"attrs": {
"btn": "选择图片"
},
"remark": {
"style": "block",
"content": "不小于32px像素等宽高.ico文件,查看<a href=\"https: //www.wbolt.com/favicon-generator.html\" target=\"_blank\" >在线生成网址图标favicon教程</a>。"
}
},
{
"label": "默认特色图",
"slug": "def_img_url",
"type": "img",
"attrs": {
"btn": "选择图片"
}
},
{
"label": "主题主色调",
"slug": "theme_color",
"type": "color",
"attrs": {
"predefine": [
"#37c1fd",
"#06c",
"#a02533",
"#ca891e",
"#6bb020",
"#8b572a",
"#000",
"#666"
]
}
},
{
"label": "古腾堡",
"slug": "gutenberg_switch",
"type": "switch",
"attrs": {
"inactive-value": "0",
"active-value": "1",
"remark": {
"0": "强制关闭古腾堡使用经典编辑器",
"1": "支持启用古腾堡编辑器"
}
}
},
{
"label": "jQuery依赖",
"slug": "jquery_switch",
"type": "switch",
"attrs": {
"inactive-value": "0",
"active-value": "1",
"remark": {
"0": "不引入jQuery,若插件依赖jQuery可开启选项。",
"1": "正引用jQuery,若插件依赖jQuery可开启选项。"
}
}
},
{
"label": "小工具",
"slug": "dynamic_sidebar_switch",
"type": "switch",
"attrs": {
"inactive-value": "0",
"active-value": "1",
"remark": {
"0": "已强制关闭小工具的输出。",
"1": "支持启用小工具。可在<b>外观 - 小工具</b>配置,<a href=\"/wp-admin/widgets.php\" target=\"_blank\">现在设置</a>。"
}
}
},
{
"label": "评论功能",
"slug": "comment_switch",
"type": "switch",
"remark": "默认开启, 若关闭则隐藏评论模块。更多评论设定,可通过<b>仪表盘-设置-讨论</b>控制,<a href=\"/wp-admin/options-discussion.php\" target=\"_blank\">现在设置</a>。"
},
{
"label": "自动加载分页",
"slug": "mxpage",
"type": "input-number",
"attrs": {},
"remark": "数字0代表不自动加载。"
},
{
"label": "列表文章数量",
"slug": "list_number",
"type": "text",
"attrs": {},
"remark": "你可以通过<b>仪表盘-设置-阅读</b>来设置博客页面至多显示文章数量,<a href=\"/wp-admin/options-reading.php\" target=\"_blank\">现在设置</a>。"
}
],
"default": {
"logo_url": "",
"favicon": "",
"def_img_url": "",
"theme_color": "",
"gutenberg_switch": "1",
"jquery_switch": "0",
"comment_switch": "1",
"mxpage": "0",
"list_number": 10,
"dynamic_sidebar_switch": "1"
}
},
"footer": {
"label": "页脚设置",
"group": "base",
"slug": "footer",
"fields": [
{
"label": "版权信息",
"slug": "copyright",
"type": "input",
"attrs": {
"placeholder": "网站名称版权所有"
}
},
{
"label": "备案号",
"slug": "miit_id",
"type": "input"
},
{
"label": "公网安备",
"slug": "gongan",
"type": "input"
},
{
"label": "页面菜单",
"slug": "menu_ft",
"type": "remark",
"remark": " 你可以通过<b>仪表盘-外观-菜单</b>来设置页脚需要展示的菜单内容。创建保存一个菜单,编辑菜单添加菜单项保存后,并管理该菜单位置为页脚链接。<a href=\"/wp-admin/nav-menus.php\" target=\"_blank\">现在设置</a>"
}
],
"social": {},
"default": {
"footer": {
"copyright": "",
"miit_id": "",
"gongan": ""
}
}
},
"code": {
"label": "自定义代码",
"group": "base",
"slug": "code",
"fields": [
{
"label": "自定义CSS样式",
"slug": "usr_css",
"type": "textarea",
"attrs": {
"autosize": {
"minRows": 2,
"maxRows": 6
},
"placeholder": "CSS样式"
}
},
{
"label": "自定义头部代码",
"slug": "hd_code",
"type": "textarea",
"attrs": {
"autosize": {
"minRows": 2,
"maxRows": 6
},
"placeholder": "HTML代码,引入js, css等"
}
},
{
"label": "自定义底部代码",
"slug": "ft_code",
"type": "textarea",
"attrs": {
"autosize": {
"minRows": 2,
"maxRows": 6
},
"placeholder": "HTML代码,如引入行内js"
}
},
{
"label": "统计代码",
"slug": "stats_code",
"type": "textarea",
"attrs": {
"autosize": {
"minRows": 2,
"maxRows": 6
},
"placeholder": "可贴入如百度统计,Google Analytics提供的统计代码"
}
}
],
"default": {
"usr_css": "",
"hd_code": "",
"ft_code": "",
"stats_code": ""
}
},
"links": {
"label": "友链管理",
"group": "links",
"slug": "links",
"fields": [
{
"label": "网站名称",
"slug": "name",
"type": "input"
},
{
"label": "网站地址",
"slug": "url",
"type": "input"
},
{
"label": "网站Logo",
"slug": "img",
"type": "img",
"attrs": {
"btn": "选择图片"
}
},
{
"label": "Nofollow",
"slug": "nofollow",
"type": "switch"
},
{
"label": "新窗口",
"slug": "target",
"type": "switch"
}
],
"default": {
"links": []
},
"item": {
"name": "",
"url": "",
"img": "",
"target": "0",
"nofollow": "0"
}
},
"ads": {
"label": "广告位管理",
"group": "bn",
"slug": "ads",
"items": {},
"default": {
"ads": {}
}
}
}