WordPress Debugger's Forum
Home › Forums › Custom Fields › How to add new post or product with custom field in frontend?
Create page template for html form (not contact form) based on your requirements. Then you can I insert post by wp_insert_post method.
After that, you can update custom post by update_field() method.
Custom field is based on acf plugin. You can retrieve custom field data by get_field method or get_post_meta method.
© WPdebuglog.com All rights reserved.