WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
  • Deals
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» WordPress Plugins» Adding User-Submitted Content in Custom Post Types with Gravity Forms

Adding User-Submitted Content in Custom Post Types with Gravity Forms

Last updated on March 29th, 2012 by Editorial Staff
25 Shares
Share
Tweet
Share
Special WordPress Hosting offer for WPBeginner Readers
Adding User-Submitted Content in Custom Post Types with Gravity Forms

Recently while working on a WordPress membership site, we found a need to rely on user-submitted content by our members. Gravity Forms has become our choice for all user-submitted content however Custom Post Types support is not yet added into the core. Luckily, there is a third-party (free add-on) that lets us extend the power of Gravity Forms to Custom Post Types. In this article, we will show you how to add user-submitted content in Custom Post Types with Gravity Forms.

Note: this article assumes that you already know and have created Custom Post Type(s) to use.

In order for you to easily allow user submission and follow this tutorial, you MUST have Gravity Forms plugin installed. Next, you need to install Gravity Forms + Custom Post Types plugin as well.

Now create a New Form and add the Title field from post fields. You can name it whatever you like. Click on the Advanced tab where you will see a new checkbox added called Save As Post Type. Check that box and select the post type from the drop down.

Gravity Forms with Custom Post Types

Most likely, you will want to sort these submissions into some sort of structure by using Custom Taxonomies. That is fairly easy as well. Create either a drop-down field, checkbox field, or a radio-button field. Simply add all of your taxonomies there. Then click on the advanced tab where you will see a new checkboxed added called Populate with a Taxonomy. Select the taxonomy you want to associate with.

Gravity Forms with Custom Taxonomies

If your custom taxonomy is the same structure as tags where you want users to specify each item, then you can use the single text. You can add an enhanced UI feature, so the user can add all tags.

Gravity Forms Enhanced UI Text Field

You can easily do this by adding a single line text field. Going to the advanced tab, click save to taxonomy. Then also enable the enhanced UI.

Gravity Forms Enhanced UI Text Field Backend

You can map any custom fields, body text, images etc with Gravity forms using the post field.

An example of the final form could look look like this:

Gravity Forms Movie Submission Form

We hope that this has given you a general idea of how to use Gravity Forms with Custom Post Types. Very soon, we will share a practical example of how we used this feature to create a local group listing.

25 Shares
Share
Tweet
Share
Popular on WPBeginner Right Now!
  • Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • Google Analytics in WordPress

    How to Install Google Analytics in WordPress for Beginners

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

The Ultimate WordPress Toolkit

8 Comments

Leave a Reply
  1. Ray says:
    Feb 24, 2015 at 2:40 am

    Is it possible to save the custom post type as private? Looking for a workaround so that the author of the post and the admins are the only ones that see it on the site.

    Reply
  2. Thad Bloom says:
    Jun 26, 2014 at 10:11 am

    This was a good solution for awhile, unfortunately the “Gravity Forms + Custom Post Types” plugin is no longer being maintained.

    Reply
  3. Tony Locke says:
    Apr 29, 2013 at 10:55 pm

    Is there any way to identify a page that is already published on your website, and have Gravity Forms add a comment to that page by one of the fields?

    Reply
    • Editorial Staff says:
      Apr 30, 2013 at 8:38 am

      Don’t think that is possible without modifying the core plugin code.

      Reply
  4. Ruanna says:
    Dec 13, 2012 at 6:45 pm

    Did you ever share the practical example of this? I’d love to see. Thanks!

    Reply
    • Editorial Staff says:
      Dec 18, 2012 at 7:31 am

      The example is practical. You mean a live demo? Then no, we didn’t share that. We had a gallery section which we used this same solution for, but the quality of submissions were very low, so we turned it off.

      Reply
      • Ruanna says:
        Dec 18, 2012 at 9:53 am

        I was referring to the last sentence of your post (above) that says: “Very soon, we will share a practical example of how we used this feature to create a local group listing.”

        Sorry to hear the quality of submissions was low!

        I got this working on my site in the meantime and appreciate the response.

        Reply
        • Editorial Staff says:
          Dec 20, 2012 at 8:30 am

          Ah, yeah. We built that for a client. Will see if we can get that post out. Completely forgot about that.

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 600,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
OptinMonster
OptinMonster
Convert website visitors into email subscribers. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 25 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2018 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2018)
    • Which is the Best WordPress Slider? Performance + Quality Compared
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • 5 Best VPN Services for WordPress Users (Compared)
    • HostGator Review - An Honest Look at Speed & Uptime (2018)
    • SiteGround Reviews from 1032 Users & Our Experts (2018)
    • Bluehost Review from Real Users + Performance Stats (2018)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Start a Podcast with WordPress (Step by Step)
    • How to Choose the Best Domain Name (8 Tips and Tools)
    • How to Setup a Professional Email Address with Google Apps and Gmail
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2018 – Step by Step Guide
Deals & Coupons (view all)
Themify
Themify Coupon
Get 20% off on Themify theme's beautiful WordPress themes. Responsive designs with tons of options.
iPage Coupon
Get over 83% off on iPage web hosting and a free domain name.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • List25
  • Awesome Motive
  •  

Copyright © 2009 - 2018 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

WordPress hosting by HostGator | WordPress CDN by MaxCDN | WordPress Security by Sucuri.