2
我正在使用選項樹框架主題模式的滑塊,但我需要滑塊描述字段作爲豐富的tinymce編輯器,有沒有辦法做到這一點?WordPress選項樹框架的滑塊需要tinyMCE編輯器
我正在使用選項樹框架主題模式的滑塊,但我需要滑塊描述字段作爲豐富的tinymce編輯器,有沒有辦法做到這一點?WordPress選項樹框架的滑塊需要tinyMCE編輯器
您可以使用簡單的文本區域而不是textarea。
array(
'id' => 'demo_textarea_simple',
'label' => __('Textarea Simple', 'theme-text-domain'),
'desc' => __('The Textarea Simple option type is a large string value used for custom code or text in the theme. The Textarea Simple does not have a WYSIWYG editor.', 'theme-text-domain'),
'std' => '',
'type' => 'textarea-simple',
'section' => 'option_types',
),