Problem: I have a site where Gravity Forms was used to create about 200 posts. I would like to use Views to display these posts.
Solution: It may or may not be possible to show information about each Entry in Views, depending on how the form was set up originally. Views can query and show information about any public post type, but Gravity Forms "Entries" are not public post types. They are stored in Gravity Forms' own custom database tables in a way that is not exposed to Views queries. So displaying information directly from existing Entries is not possible with Views.
However, there are some 3rd-party plugins out there that allow you to save each Gravity Form Entry into a custom post type. For example, https://wordpress.org/plugins/gravity-forms-custom-post-types/ If your form was originally configured with one of these integrations and each Entry was saved in a public custom post type, then Views may be able to loop over those posts and display information about each one. If you add this custom post type integration now, Views can loop over the posts created by future Gravity Form Entries, but the old Entries will not be included in those results. I think you would have to use some custom code to create posts out of those old Entries, but that custom code is not something I am able to offer here in the forums. Gravity Forms support might be able to offer some guidance there.
All Types custom fields are stored in the postmeta table using a key "wpcf-" + post field slug. So if the custom field slug is "my_field" in wp-admin, then the correct meta_key in the postmeta table is "wpcf-my_field".
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Our next available supporter will start replying to tickets in about 7.50 hours from now. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 1 reply, has 2 voices.
Last updated by 6 years, 10 months ago.
Assisted by: Christian Cox.