Tagged: , ,

Viewing 2 reply threads
  • Author
    Posts
    • #1083
      chrisben
      Member

      I want to add a choice for my CPT, I basically copy pasted the code in the “Select” documentation page into a meta-box.
      When I save the post, I can see in my database that the meta value get saved properly, but when the post get reloaded (after save), it doesn’t re-select the choice item I have previously saved.

      Are we supposed to set the “value” field parameter to the correct value by loading the current post (if any) ourselves and set it as value in the piklist definition?
      Or is it a bug?

      Same problem with checkbox and radio types.

      Thanks.

    • #1084
      Steve
      Keymaster

      Does the Select box in Piklist Demos work for you?

    • #1113
      Steve
      Keymaster
Viewing 2 reply threads
  • You must be logged in to reply to this topic.