Support

Account

Forum Replies Created

  • I had the same issue… Took me hours to figure it out. I can’t believe there’s no one else that has this problem…

    I had put acf_register_form right before the acf_form call just like you based on a previous example that I had found. But after I updated ACF, this no longer worked.

    I finally re-checked ACF’s documentation about how you’re supposed to set it up here: https://www.advancedcustomfields.com/resources/acf_register_form/#examples

    Apparently you can no longer call acf_register_form right before acf_form. You need to call it via the acf/init action and put that in your functions.php file. Do that and presto, it works again!

    My guess is that it happened at version 5.8.5 back in October 2019 with this:
    New – Optimized acf_form() logic when used in combination with acf_register_form().

  • Thanks James. I’ve had a few instances now where this would have been really helpful. Hopefully it gets added to the roadmap.

    Cheers.

  • Fantastic @elliot, I look forward to it.

    Cheers.

  • Hi @elliot,

    I see that there is an acf_settings class added to the WYSIWYG editor body but nothing unique to the particular editor. What I’ve seen in other plugins is they add a specific class so that you can style just that editor using the editor’s custom stylesheet. Having a class added that is pretty much the same name as the field name would be ideal. So if the field name is my_editor_field, you can could a class called acf_my_editor_field.

    Let me know if this is a feature that may be added.

    Thanks,
    Jason

Viewing 4 posts - 1 through 4 (of 4 total)