WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom Post Type Meta Box Field won't save it's data? (2 posts)

  1. keysuuh
    Member
    Posted 1 year ago #

    I recently added an Event Post type that has multiple Custom Meta input fields. I tried adding a textarea to the meta box and it shows up perfectly fine. BUT, when I save the post after filling in the textarea box, the data from ONLY the textarea disappears.

    I'd have to continuously type in the information all over again after saving or making changes..

    What can I do to fix this?

    Here is a large portion of the events post type//
    http://pastebin.com/KTakDR6m

  2. brasofilo
    Member
    Posted 1 year ago #

    The textarea is not filled with value...

    This does it:
    '<p><label class="events">Information: </label><textarea name="event_info" rows="5" cols="65" class="event-info" name="event_info" >' . get_event_field("event_info") . '</textarea></p>'

Topic Closed

This topic has been closed to new replies.

About this Topic