Is it possible to add the ACF fields before the comment field when adding fields to the comment form?
Thanks
This (or something very similar) was reported to the developer about this time last year. https://support.advancedcustomfields.com/forums/topic/fields-to-commentform/
I do not know the status of this. The normal support might have an answer if you submit a new support ticket https://support.advancedcustomfields.com/new-ticket/
Thanks for the reply @hube2
Hi all,
Just wondering if there was any progress on this as I have been struggling to get my ACF fields above the comment box and still haven’t found a solution.
Any help is appreciated!
@spartieee i sent a support email to try and get a solution.
Elliot replied with the following suggestion
ACF will add fields after the ‘comment’ (textarea) field.
It’s not possible to modify this behaviour by PHP, however, it is very possible to move HTML around using jQuery.
I suggest adding some JS that runs in the footer that simply uses the .before() and .after() functions in jQuery to move the ‘acf-field’ elements around.
Hope that helps.
@cultivate awesome, thank you! I will give this a shot!