Home › Forums › Front-end Issues › acf_form not displaying post title field in the front end.
Hi,
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.
Hi @davidjohn
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.
Thanks
Frank
I also installed this plugin but it does not update the field, it does fetch it though.
https://bitbucket.org/jupitercow/acf-edit-title-content
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 details:
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 π
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.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.