Field data not populating post
-
When I submit a form my custom post type is created, but the post title and content is not in the post. Also, it is automatically published instead of as a draft. I am also using contact form db plugin and the values do show up there, but in phpmyadmin the fields are not consistent with form data. I disabled contact form db and problem still persists. Is there any reason why these fields are not being populated in the correct db table? What is strange is that it grabs the post_type from the form, but nothing else. Below is the form:
<p><b>Job Title*:</b>
[text* post_title]</p><div style=”display:none;”>
<input type=”hidden” name=”post_status” value=”draft” class=”wpcf7-hidden”>
<input type=”hidden” name=”post_content” value=”See Custom Fields Below” class=”wpcf7-hidden”>
<input type=”hidden” name=”post_type” value=”job” class=”wpcf7-hidden”>
</div>[submit “Post”]
- The topic ‘Field data not populating post’ is closed to new replies.