PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Publishing Entries on Wordpress Site

  1. I'm pretty new to most of this stuff, so I may not be using the correct terms. I've developed a Gravity Form for a client, from which I would like to see user-generated content automatically posted to the clients website (ideally, with an approval process). That last part isn't critical. We don't get THAT many entries. The main thing I want to automate is converting the entries into something that can be seen by other visitors. (Have exported to csv, just don't know how to post that, especially with links where each name could bring up that individuals deeper data.)

    The website I'm reconstructing was allowed to expire, so using waybackmachine.org is the best way to demonstrate the functionality I'm seeking:
    http://replay.web.archive.org/20080826004513/http://www.suicidewall.com/Suicide_Wall.asp

    Here's the GF on the reconstructed site:
    http://suicidewall.com/online-registration/

    If there is a third-party plugin I would need to buy, please let me know that, too. Any suggestions would be greatly appreciated.

    Kevin

    Posted 12 years ago on Thursday May 5, 2011 | Permalink
  2. If you want a form to create a WordPress Post when it is submitted you need to add Post Fields to your form. Post Fields are a type of field that appears in the Form Editor when building your form.

    So if you want a form to also create a post, you need to add at a minimum a Post Title and Post Body field to your form. When Post Fields exist on your form, Gravity Forms automatically creates a WordPress Post using them when the form is submitted.

    There are option son the Post Title and Post Body field to set options like the post status (Draft, Published, etc.), the Post Author, etc.

    You can find documentation on the Post Fields here:

    http://www.gravityhelp.com/documentation/page/Form_Fields

    There is not currently a tool or add-on to turn an existing Gravity Form entry into a post. Posts are only created when the form is submitted by using Post Fields on your form.

    Posted 12 years ago on Friday May 6, 2011 | Permalink
  3. Hi Carl,

    Thanks so much for your reply and promptness.

    I'm sorry to need such "hand-holding" on this. I have several questions.
    1. I've already created a form. It's located here: http://suicidewall.com/online-registration/
    If I want this user submitted data to be published, what fields become Post Title and Post Body fields?
    2. Do all of the other fields get posted, too?
    3. How does Wordpress know where to post this data? (I'd like it to go here: http://suicidewall.com/suicide-wall-of-the-internet/
    4. Is there a way to sort these posts, say, alphabetically by last name?

    Thanks again, Carl. You have have a great plugin, and offer great support.

    Kevin

    Posted 12 years ago on Monday May 9, 2011 | Permalink
  4. 1) I can't really determine that for you. It's entirely up to you. You need to determine what fields you want to be the Post Title and Post Body field. You can only have ONE Post Title and ONE Post Body field on a form. Not multiple.

    2) All the fields get stored as an entry, however only POST FIELDS create Post data. So by "Posted" if you mean they go into your Post, no this doesn't happen automatically. WordPress Posts only have 2 main fields: Title and Body. They don't have the extra fields Gravity Forms has so this data isn't going to exist in the Post. WordPress does have Custom Fields and you could use the Post Custom Field which lets you store data as a Custom Field with a Post, but then your WordPress template has to display that data in your theme. Custom Fields aren't displayed automatically.

    3) See #2, WordPress doesn't handle this data. It has no place to put it other than storing it as Custom Field data if you use the Post Custom Field type.

    Your other option is to use the Content Template feature of the Post Body field. The Content Template is an option on the Post Body field that lets you insert form field values of any field into your Post Body content so you can output field values in your Post Body. This is then used to create the WordPress post.

    I'm not sure what you are trying to do but you need to better familiarize yourself with how WordPress stores and handles Post data because I think your expectations may not be completely in line with what WordPress does. What you want to do is possible, but it isn't something it's going to do out of the box. If you use Custom Fields you need to modify your theme to display these custom field values.

    Posted 12 years ago on Monday May 9, 2011 | Permalink
  5. This is very helpful, Carl. Thanks for patiently going into this kind of detail for a novice. I appreciate it very much.

    Posted 12 years ago on Wednesday May 11, 2011 | Permalink