WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms + Custom Post Types
[resolved] Can the plugin write to Custom Post Meta Boxes (4 posts)

  1. glennyboy
    Member
    Posted 2 years ago #

    Hi

    Can this plugin extend Gravity Forms to write/map to meta boxes text inputs so that I can get a full insert of a specific custom post type?

    I can see that the plugin can pull from taxonomies and save Post Titles but I'm unsure of mapping to a full range of meta box fields.

    Can anyone spread any light on this?

    Thanks

    Glennyboy

    http://wordpress.org/extend/plugins/gravity-forms-custom-post-types/

  2. bradvin
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Glennyboy

    Yes, you can use the "custom field" post field that comes with gravity forms to "map" a field in the form to a custom field in your post. As long as your meta boxes work off custom fields (which most do) then you should be good to go

  3. Ken Dirschl
    Member
    Posted 2 years ago #

    @bradvin,
    can you elaborate on this please:

    "As long as your meta boxes work off custom fields"
    ?

    I can't get gravity forms to recognize existing custom fields in a custom post type. Tried creating new ones in the post and in gravity forms and that works fine, but the existing ones just won't show.

    thanks!

  4. bradvin
    Member
    Plugin Author

    Posted 2 years ago #

    The data that is shown (and saved) in most custom meta boxes actually store their data in the post's custom fields.

    see this as an example : http://wpshout.com/create-an-in-post-theme-options-meta-box-in-wordpress/

    If your custom meta box stores it's data that way then the custom field's in GF should work just fine. How did you create your meta box? What plugin did you use? Maybe that is the reason. The way your meta box could be saving the data is in an array perhaps?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic