Forum Replies Created
-
AuthorPosts
-
SteveKeymasterCan you email the entire meta box to [email protected] ?
SteveKeymasterCan you post your field code? Is
'add_more' => trueset?February 20, 2016 at 7:01 pm in reply to: on_post_status when editing post with front end form #5971
SteveKeymaster@jivedig– Great solution!
on_post_statusdoesn’t work on frontend forms.One of the benefits of Piklist is that its code based, you can use standard PHP conditions to hide/show fields. Great job.
February 20, 2016 at 6:59 pm in reply to: BUG: Group field in custom post type doesn't load properly when editing #5970
SteveKeymaster@wandev– Welcome to the Piklist community!
This is absolutely possible.
Here’s the field:
piklist('field', array( 'type' => 'datepicker' ,'field' => 'demo_add_more_date' ,'label' => __('Date Picker', 'piklist-demo') ,'add_more' => true ));Then pull the values using get_post_meta(), and loop through them to display your HTML.
SteveKeymaster@efegue– What version of Piklist are you using? The latest beta should fix this issue.
SteveKeymasterPiklist doesn’t limit the media uploader. But when the user presses SAVE, Piklist will display a message telling the user that they can’t upload more than one file.
There is an example of this in Piklist Demos under the Validation tab. Take a look at the “Add File(s)” field.
February 20, 2016 at 6:51 pm in reply to: Featured Request => Scope as array (multiple scopes) #5965
SteveKeymaster@jivedig– The next version of Piklist will have a new feature called “relate”. Not only can you create one-to-one relationships, but you can create many different relationships based on different scopes!
SteveKeymasterHi Rachel–
I think you’re overthinking this.
First, take a look at this field in the Demos: Add-mores > two level > “Content Section (Grouped)”. It shows you how to pull and save Post IDs. Your code does not need to be in a “group”, so just display it in a normal select field.
Once you save, and pull, the Post ID, you can then use the standard WordPress function get_post() to get the information you need.
SteveKeymasterCurrently, this is not possible.
SteveKeymasterYou want the other fields to have information, but just one field empty?
SteveKeymasterYou’re passing a value and just getting an empty array?
SteveKeymaster@jrcreative Welcome to the Piklist community!
Currently there’s no way to access the value. You have to write a function on the template side.
SteveKeymasterYou can check out this file in the plugin which creates the Welcome page for Piklist.
piklist/parts/admin-pages/welcome.phpYou’ll notice the
pageparameter in the comment block. I think that’s what you need.Let us know if you still have questions.
February 12, 2016 at 2:02 pm in reply to: Method to know what fields have been created using Piklist #5922
SteveKeymaster@rcantor– You can use the WordPress function get_post_custom(). It pulls EVERY custom field. Not just the ones created by Piklist.
-
AuthorPosts