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.

Submit Direct To Wordpress Post

  1. Chris Higgins
    Member

    Hi,

    I'm building a Wordpress site for a local animal shelter, and have created a Gravity Form on a password protected page which will be used by the shelter to post new animals to the site. The form contains single line text boxes, paragraphs and multiple choice sections, and I'm hoping that there is an option to automatically generate a post that contains all of this data into a published Wordpress post, without the need to log into the Wordpress back end.

    If anyone can point me in the direction of some documentation, or has got some advice, I'd really appreciate it.

    Cheers!

    Chris

    Posted 13 years ago on Thursday June 3, 2010 | Permalink
  2. RichardBest
    Member

    Hi Chris

    You might be able to achieve what you're after simply by using the post fields when creating the input form, as they include post title, post body, categories and tags. If you need additional fields, you could add some custom fields, and then amend your loop so that the custom fields are displayed. This all makes posting from the front end really easy, and elegant.

    The alternative is to use the Gravity Forms hooks to get content into the post body, but that's a bit more complicated.

    Hope this helps.
    Richard

    Posted 13 years ago on Thursday June 3, 2010 | Permalink
  3. Gravity Forms has something called Post Fields which are used to create a WordPress post. You can use these on your form and data submitted will then be used to create a post. Only Post Fields will create a post. They are located below the Advanced Fields in the form builder UI.

    Posted 13 years ago on Thursday June 3, 2010 | Permalink
  4. Chris Higgins
    Member

    Unfortunately Gravity Forms was unable to achieve the results I was after for this particular project, and I ended up using a free Wordpress plugin that allowed me to build a form in the "post" page. Thanks for your help gents.

    Cheers,

    Chris

    Posted 13 years ago on Thursday June 3, 2010 | Permalink
  5. RichardBest
    Member

    I reckon GF would do the trick, but your call...

    Posted 13 years ago on Friday June 4, 2010 | Permalink
  6. Yea, i'm a little confused. Gravity Forms is fully capable of doing what you described. Plenty of people use it to generate WordPress posts, you can embed it on a password protected page and then have it create posts that are automatically published. Not sure why you had to go another route, but it's fully capable of doing what you described.

    Posted 13 years ago on Friday June 4, 2010 | Permalink
  7. Chris Higgins
    Member

    Hmmm...I'm willing to have another play with it if I can get it to do what I want. This is the site I'm currently creating.

    http://www.bluecrossanimals.com.au

    The only problem I can potentially see is that I need to add a "read more" link after the first paragraph of text to obtain the styling that I'm using on the index page (animal photo and summary, then full bio on the separate page). How would I go about doing that?

    Cheers,

    Chris

    Posted 13 years ago on Saturday June 5, 2010 | Permalink
  8. The read more link is an issue. There is no way to dynamically insert the read more token into the post body. The user would have to add it to the content as he is adding it. It is one of the reasons why it is best to rely on another method to limit the display rather than the more link, it's possible to do it with PHP, etc.

    Posted 13 years ago on Monday June 7, 2010 | Permalink
  9. I'm trying to do something similar. I'm creating a site for contractors (plumbers), and here's the functionality I need:

    (1) Plumber will be able to create their Plumber profile by answering a series of questions presented to them in form elements.

    (2) After Plumber completes survey, their profile is submitted as a draft until Admin (me) approves it.

    Some form elements are:

    Fname
    Lname
    Zipcode
    Date of Birth
    Biography (resume like item)
    An image of themselves

    Help?

    Posted 11 years ago on Tuesday November 6, 2012 | Permalink