doujuncuo9339
2013-11-08 09:49 阅读 43
已采纳

将字段(标题/描述)添加到wordpress - Redux插件

i would like to add a caption/description field to this plugin. Can anyone suggest how could i do it?

The Code Start Here...

$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'),
        ),                                              
    ),
);
  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    dongren1986 dongren1986 2013-11-10 06:32

    Shouldn't be too bad. Just a text field or what? I'm one of the core developers behind Redux. You could hop over to our issue tracker for feature requests found here: https://github.com/ReduxFramework/ReduxFramework/issues

    We're very interested in your needs, so let us know. We'll be glad to help.

    点赞 评论 复制链接分享

相关推荐