Home › Forums › General Issues › Live Edit labels empty after creating a post using acf_form › Reply To: Live Edit labels empty after creating a post using acf_form
OK I have figured it out. In my create a post form I was bringing in a custom field set that only had one field but on the live edit page I had another set. By adding both sets to the form and creating the post, the live edit shows the acf’s correctly. Only bugger is I’d really like to hide the main set from the create a post form as the acf css buggers up the look so I was keen to roll with one act set.
The form outputs:
<div id=”acf_56″ class=”postbox acf_postbox no_box”>…</div>
<div id=”acf_127″ class=”postbox acf_postbox no_box”>…</div>
so I can hide #acf_56 with CSS, is this the best workaround?
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 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.