Forum Replies Created
-
AuthorPosts
-
SteveKeymaster@jason– Would this tutorial help? It’s the opposite of what you want, but should get you started.
September 29, 2014 at 2:02 pm in reply to: [Bug] Two file fields inside an add_more does not save correctly #2495
SteveKeymaster@simon– You will need to specify the number of columns when using this template and a group field.
piklist('field', array( 'type' => 'group', 'template' => 'field', 'add_more'=> true, 'fields' => array( array( 'type' => 'file', 'field' => 'flavour-images', 'label' => 'Image(s)', 'columns' => 12 ), array( 'type' => 'file', 'field' => 'flavour-nutrition-info', 'label' => 'Nutritional info', 'columns' => 12 ) ) ));September 29, 2014 at 1:43 pm in reply to: Manage Taxonomy and Term Meta data at Add new screen #2494
SteveKeymaster@baar– Managing Term Meta from a Post screen is something we are not going to support right now.
September 28, 2014 at 8:45 pm in reply to: default uploaded media design is off in settings area #2492
SteveKeymaster@kattagami– We can reproduce and will fix in the next version of Piklist.
SteveKeymasterAwesome! Closing ticket.
SteveKeymaster@noboo– I haven’t had time to test this, but here are two things you need.
1) Tell Piklist which Post you want to edit: you do this by passing the Post ID with a hidden field. Scope is POST since the ID is on the POSTS table, and ID is the name of the column.
piklist('field', array( 'type' => 'hidden' ,'scope' => 'post' ,'field' => 'ID' ,'value' => $placemark[0]->ID ));2. bgmp_address should be scope -> post_meta, since it’s meta.
piklist('field', array( 'type' => 'text' ,'scope' => 'post_meta' ,'template' => 'field' ,'field' => 'bgmp_address' ,'label' => 'Text' ,'value' => $address ,'attributes' => array( 'class' => 'regular-text' ) ));
SteveKeymasterThat function needs to go in the file generating the tab
SteveKeymasterYou need to assign meta boxes to Workflow tabs using the
include_meta_boxesfunction.
SteveKeymaster
SteveKeymaster@norboo–Can you post or email your code for the Workflow tab? You save you got it to render, correct? Just not save.
-
AuthorPosts