0

我想为这个插件添加一个标题/描述字段。谁能建议我该怎么做?

代码从这里开始...

$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'),
        ),                                              
    ),
);
4

1 回答 1

3

应该不会太差。只是一个文本字段还是什么?我是 Redux 背后的核心开发人员之一。您可以跳到我们的问题跟踪器以在此处找到功能请求:https ://github.com/ReduxFramework/ReduxFramework/issues

我们对您的需求非常感兴趣,所以请告诉我们。我们很乐意提供帮助。

于 2013-11-10T06:32:54.273 回答