[英]Add field(caption/description) to wordpress - Redux plugin
我想在此插件中添加標題/說明字段。 誰能建議我該怎么做?
代碼從這里開始...
$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'),
),
),
);
應該不會太糟。 只是一個文本字段還是什么? 我是Redux背后的核心開發人員之一。 您可以跳轉到我們的問題跟蹤器,以獲取此處的功能請求: https : //github.com/ReduxFramework/ReduxFramework/issues
我們對您的需求非常感興趣,所以請告訴我們。 我們很樂意為您提供幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.