Hi
I have a car listing website and I want the user to submit listing from the frontend. For that purpose, I’m using a plugin called “WPAdverts β Classifieds Plugin” but the plugin doesn’t provide fields I wanted so for that I’m using ACF to add required fields. I added the fields and fields are working fine from the backend(like saving value) but when I’m showing these fields on the frontend after input data when I’m publishing a post the values of these fields are NULL
I followed the following tutorial and fields are showing correctly but on submitting value is Null
https://medium.com/techcompose/how-to-add-advanced-custom-fields-acf-to-a-frontend-form-2b89c8cfdcee
Add form for car listing
http://motors.mannanmehroz.com/adverts/add/
Fields I created using ACF and showed them on my add form
http://prntscr.com/ngcn1h
The value inserted to submit a post
http://prntscr.com/ngcnjs
After submitting Values on next page are NUll
http://prntscr.com/ngcodc
Code I added in my frontend add form template
http://prntscr.com/ngclqs
The code in theme function.php
http://prntscr.com/ngcm8l
Can you please tell me why the values are not getting saved?
Regards,