- This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by
Steve.
Viewing 3 reply threads
-
AuthorPosts
-
-
June 16, 2016 at 12:15 pm #6721
unluckyxiiiMemberWordpress 4.5.2
Piklist 0.9.9.8
Everything works fine except for Servings and Skill not saved. Thanks in advance for the help.<?php /* Title: Recipe Details Post Type: post Order: 1 */ piklist('field', array( 'type' => 'text' ,'field' => 'youtube_embed' ,'label' => 'Youtube Embed' ,'attributes' => array( 'placeholder' => 'https://www.youtube.com/embed/vGuIdi__4kY' ) ,'columns' => 12 )); piklist('field', array( 'type' => 'text' ,'field' => 'prep_time' ,'label' => 'Prep Time' ,'attributes' => array( 'placeholder' => '30 min' ) )); piklist('field', array( 'type' => 'text' ,'field' => 'cook_time' ,'label' => 'Cook Time' ,'attributes' => array( 'placeholder' => '1 hr 30 min' ) )); piklist('field', array( 'type' => 'text' ,'field' => 'servings' ,'label' => 'Servings' ,'description' => 'Example: 4 pax' ,'attributes' => array( 'placeholder' => '4' ) )); piklist('field', array( 'type' => 'select' ,'field' => 'skill' ,'label' => 'Skill' ,'description' => 'Choose difficulty level' ,'choices' => array( 'Easy' => 'Easy' ,'Intermediate' => 'Intermediate' ,'Hard' => 'Hard' ) )); piklist('field', array( 'type' => 'text' ,'field' => 'ingredient' ,'add_more' => true ,'label' => __('Ingredients') ,'description' => 'Add more ingredients using the plus button' ,'columns' => 12 )); piklist('field', array( 'type' => 'text' ,'field' => 'instruction' ,'add_more' => true ,'label' => __('Instructions') ,'description' => 'Add more steps using the plus button' ,'columns' => 12 )); -
June 16, 2016 at 4:34 pm #6731
SteveKeymaster@unluckyxiii– Welcome to the Piklist community!
-
June 17, 2016 at 6:59 am #6734
unluckyxiiiMemberThanks Steve. It works!
I shouldn’t have missed that from the documentation. Thanks again.
-
June 17, 2016 at 9:22 am #6735
SteveKeymasterYou’re very welcome! Closing this ticket.
-
-
AuthorPosts
Viewing 3 reply threads
- The topic ‘Fields not saved’ is closed to new replies.