Support » Plugin: Jetpack by » Create single posts from feedback contact form

  • Resolved greatdanemaniac


    I was wondering if there is a somewhat simple way to create posts from the contact form?

    Like, using wp_insert_post or something and copy the field data and inserting them in a draft post (standard post, not CPT).

    For example:

    Somebody fills in a feedback contact form on my site; and asks a question. I’d like to reply to his question by creating a blog post so everybody can see it.

    Let’s say the fields (or labels) are:
    What’s your question?

    In the created blog post I’d like the post title to be something like:
    {Name} asked a question.

    The post content should contain the asked question and also be prepared for my answer further below in the post.

    Is this possible in some way?
    I think it should be… Can I grab the feedback by custom fields?

    Sorry for my very simple explanation for this. I’m a complete N00b when it comes to php and coding.

    Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Create single posts from feedback contact form’ is closed to new replies.