Home › Forums › Front-end Issues › acf_form not displaying post title field in the front end.
i have created a front end posting template in my website using acf_form(). But the title field is not showing in that template.
I used to https://www.advancedcustomfields.com/resources/acf_form/?version=4 this page for guideline. Please help.
I’m afraid the “post_title” option only available for the PRO version. I’m sorry for the inconvenience. If you want, you can create a dummy title field and change the post title when you save it using the acf/save_post hook.
I hope this helps.
I have acf pro and am trying to do this, where do I find this option. I’ve looked at the field types and can’t seem to find it.
I also installed this plugin but it does not update the field, it does fetch it though.
can you please share your code?
Maybe that is the problem, I am not using any code, LOL
I have the created a field with the name ‘form_post_title’ in the admin interface of a working field group.
field_57215fffde574 | Page Title | form_post_title
The front end form loads and updates all other custom fields in the group. The field appears with the title populated but doesn’t update along with the other fields. Do I need to include code in my functions file?
I did read the docs but it seemed the plugin handled the update post end of it.
If I need to add something to the functions file that would explain why it is not working 🙂 Downloaded ACf Pro today and am using the latest of the plugin above.
If you use the PRO version, please check this documentation instead: https://www.advancedcustomfields.com/resources/acf_form/.
I believe you can use this code for the front end template:
acf_form(array( 'post_title' => true, ));
I hope this helps 🙂
Thanks a lot this did help.
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
The most recent ACF Chat Friday featured a live demo of how to register CPTs directly in the plugin, one of our most requested features. Check out the summary below for a replay of the demo, and don’t forget to register for the next session! https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 9, 2023
© 2023 Advanced Custom Fields.