WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Gravity Forms + Custom Post Types

Easily map your forms that create posts to a custom post type. Also map dropdown select, radio buttons list and checkboxes lists to a custom taxonomy.

This plugin is an add-on for the amazing Gravity Forms Plugin. Check out my other free Add-ons for Gravity Forms

Gravity forms allows you to create posts from a form using 'post fields'. By default the submitted form will create a post, but I wanted a way to save a custom post type instead. It can be done quite easily with some php code, but I wanted it to be easier without any code at all. Now it is easy. Maybe too easy :)

You can also link a custom taxomony to the field types : Drop Downs, Mulit Selects, Radio Buttons, Checkboxes and Single Line Text. So when the form is displayed a list of terms for the custom taxonomy are listed. And then when the post (or custom post type) is created, it automatically links the post to the selected taxonomy term(s).

features

  • Map a form to a custom post type (using the post title field)
  • Map fields (Drop Downs, Multiple Choice or Checkboxes) to a custom taxonomy
  • Supports Gravity Forms v1.5 and over (including v1.6)
  • Ability to have more than 1 taxonomy linked in a form (see screenshots)
  • Hierarchical dropdowns for hierarchical taxonomies (see screenshots)
  • Populate a dropdown with posts
  • Ability to set a parent post using the dropdown control
  • Single line text field can link to taxonomies by entering a comma seperated list
  • Enhanced UI on single line text fields to show a "tag input" styled control (see screenshots)

How to map a form to a custom post type

Add a post title field to your form and under the advanced tab, tick the "Save As Post Type" checkbox. A dropdown will appear with the available post types. Select the one you want.

How to link a field to a custom taxonomy

Custom taxonomies can be linked to Drop Downs, Mulit Selects, Radio Buttons and Checkboxes. Under the advanced tab for your field, tick the "Populate with a Taxonomy" checkbox. A dropdown will appear and you can select your custom taxonomy from the list.

How to link the saved post to taxonomies using a single line text field

You can also link a Single Line Text field to a taxonomy, so it can be used to input existing and new taxonomy terms. Under the Advanced tab, click "Save to Taxonomy" checkbox and then select the taxonomy from thr drop down. You can also choose to show an advanced UI by checking the "Enable enhanced UI" checkbox. This will enable an awesome "tag input" style control. See screenshot for more info. If the control contains exising terms, then they are linked to the saved post. If there are new terms in the control, then the terms are created and they are also linked.

How to set a parent post with the dropdown field

You can now link the dropdown field to a post type and try to make it set the parent item. Under the advanced tab, check the "Populate with Post Type" checkbox. Select the SAME post type that you selected when adding a post title field (above), and check "Try to set parent". This then fills the dropdown with a list of existing posts, so when you save the form and the post is created, it trys to set the parent post to whatever was selected in the dropdown.

Requires: 3.0.1 or higher
Compatible up to: 3.3.2
Last Updated: 2012-8-9
Downloads: 41,890

Ratings

4 stars
4.6 out of 5 stars

Support

1 of 8 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,2,2 100,3,3
0,1,0
100,4,4
100,2,2 100,1,1
100,1,1 100,6,6
100,1,1
100,1,1 50,6,3
60,5,3
50,2,1
100,6,6
25,4,1
100,3,3
86,7,6
0,1,0
50,6,3
0,1,0
100,3,3
100,1,1
100,2,2
0,3,0
100,1,1