Tagged: group piklist
- This topic has 0 replies, 1 voice, and was last updated 3 years, 7 months ago by
Set None.
Viewing 0 reply threads
-
AuthorPosts
-
-
June 22, 2018 at 6:59 am #9074
Set NoneParticipantI receive a jquery error message in admin if i use a group metabox inside another one.
Because of that i can’t see/edit some elements (editor content).The metaboxes works on frontend.
<?php piklist('field', array( 'type' => 'group' ,'field' => 'section' ,'label' =>__('Section','test') ,'columns' => 12 ,'fields' => array( array( 'type' => 'text' ,'field' => 'title' ,'label' => __('Content', 'test') ,'columns' => 12 ,'attributes' => array( 'rows' => 5 ) ), array( 'type' => 'textarea' ,'field' => 'content' ,'label' => __('Content', 'test') ,'columns' => 12 ,'attributes' => array( 'rows' => 5 ) ), array( 'type' => 'group' ,'field' => 'item_tab' ,'label' =>__('Item Tab Section','test') ,'columns' => 12 ,'add_more' => true ,'fields' => array( array( 'type' => 'text' ,'field' => 'headline' ,'label' => __('Headline', 'test') ,'columns' => 12 ), array( 'type' => 'group' ,'field' => 'item_tab_list' ,'label' =>__('List:','test') ,'columns' => 12 ,'add_more' => true ,'fields' => array( array( 'type' => 'text' ,'field' => 'title' ,'label' => __('Title', 'test') ,'columns' => 12 ), array( 'type' => 'editor' ,'field' => 'content' ,'label' => __('Content', 'test') ,'options' => array( 'media_buttons' => true ,'teeny' => true ,'textarea_rows' => 5 ,'drag_drop_upload' => false ,'tinymce' => array( 'resize' => true ,'wp_autoresize_on' => true ) ) ) )) )) ) )); ?>Attachments:
You must be logged in to view attached files.
-
-
AuthorPosts
Viewing 0 reply threads
- You must be logged in to reply to this topic.