我想为这个插件添加一个标题/描述字段。谁能建议我该怎么做?
代码从这里开始...
$sections[] = array(
'title' => __('Home Settings', 'redux-framework-demo'),
'header' => __('Welcome to the Simple Options Framework Demo', 'redux-framework-demo'),
'desc' => __('Redux Framework was created with the developer in mind. It allows for any theme developer to have an advanced theme panel with most of the features a developer would need. For more information check out the Github repo at:
<a href="https://github.com/ReduxFramework/Redux Framework">https://github.com/ReduxFramework/Redux-Framework</a>', 'redux-framework-demo'),
'icon_class' => 'icon-large',
'icon' => 'home',
'fields' => array(
array(
'id'=>'media',
'type' => 'media',
'url'=> true,
'title' => __('Media w/ URL', 'redux-framework-demo'),
'compiler' => 'true',
'desc'=> __('Basic media uploader with disabled URL input field.', 'redux-framework-demo'),
'subtitle' => __('Upload any media using the WordPress native uploader', 'redux-framework-demo'),
),
),
);