php - How to create custom forms for custom content type in wordpress? -


Is there a way to create forms for a particular content type and submit it to the site itself I have 2 content in my WordPress Type and I want to create a form to post on a particular content type. Also, is it possible to create a form in the form of a page in WordPress?

Relationship - DJ

I used the following method to get it Is:

I used the shortcode function to create a form in the site. Here you can see the documentation to add. There was a 'page' with the submit page shortcode. So I have collected values ​​in the shortcode function and added the contents to the wp_posts table using the wp_insert_post function. You can see the documentation about wp_insert_post () I hope this help :)

related to DJ


Comments