Gravity Forms

Gravity Forms and WordPresss Custom Post Types

I’ve brushed by the problem of getting the Gravity Forms wordpress plugin to populate wordpress content a few times now and while it can handle basic post creation by default, with Title, Content, Images, Category, Tags, etc.. what if you need a front end form to create or populate a Custom Post Type and fill in the various bits of meta/taxonomy information that might be contained in that custom post type?

For one of my latest projects I’m building a property site and using an off the shelf template that comes with a custom post type called Listings which has contained within it custom fields and taxonomies such as:

  • Property Type,
  • No of Beds,
  • Location,
  • Price,
  • etc..

I figured initially that this should be easy enough but on researching found it wasn’t! Luckily the Gravity Forms + Custom Post Types plugin does pretty much all you need. Here’s how it works:

Install and activate the above plugin and go create a new Gravity Form as usual and add a new Title field from the ‘Post Fields’ section. This will be the title of the post and in my case, property name. Go into the advanced settings for that field and tick Save as Custom Post Type. The drop down box choice will list any custom post type created already. See below:

Custom Post

Next create either a drop down, multiple choice or checkbox field and go into the Advanced tab of the field settings and tick ‘Populate with a Taxonomy’, choosing your taxonomy from the resulting list. If you add a list of taxonomies to the custom post type in wordpress admin then these will be the values that populate that drop down/checkbox list on the front end when someone uses the form! See here:


For this particular site I’m working on I can now have a client register an account, list a property (with ‘Pending’ status) and pay for the listing all through 1 form. Cool!


Published by

Leon Quinn

Multimedia Design company in Leitrim, Ireland specializing in WordPress Website Design, Photoshop and Graphics.

7 thoughts on “Gravity Forms and WordPresss Custom Post Types”

  1. Nice post Leon. Two quick questions for ya:

    1. Are the users able to edit the listing once it’s been approved & published? I’ve spent hours on Gravity’s pre-sale forum trying to find the answer to this but have only found conflicting reports.
    2. Is the site you’ve been working on live yet? I’d love to see how you set up the form.

    Go raibh maith agat.


    1. If you use the form in conjunction with Gravity Forms User Registration add on then a new user account will be created when the form is sumbitted. Once that’s created then yep, just login and edit your posts.

      Site’s not live yet no..


      1. I’m also using GF with Custom Post Type plugin to capture and post for listing data, but how are you going about filtering the captured data by multiple taxonomies. I’m using the Query Multiple Taxonomies plugin but if you have say Countries taxonomy and child terms then the widget is too long…so eg…UK, then child terms of London, Kent, Sussex, etc….


  2. legend! needed something like this, googled some solutions, came across this and it’s exactly what i needed, thanks 🙂


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.