Home Forums ACF PRO ACF Field position with Comments


ACF Field position with Comments

  • Hello !

    When i try to add field to the wordpress comments, ACF seems to use always the action “comment_form_before_fields” in order to display them automatically on the front-end (
    no matter what options are set on the ACF back office).

    How i can display my custom fields in order to have them under the comments textarea.

    Thank you !

  • Hi @manioums

    I believe ACF already uses the “comment_form_after_fields” to show the form. The problem is, “comment_form_after_fields” fires after the comment fields in the comment form, excluding the textarea. This page should give you more idea about it:

    The easiest way to do it would be using jQuery to move it.

    I hope this helps.

  • Hi @james,

    Thank you for your message !

    I haven’t paid attention to the “excluding the text area” mention … 🙁

    I solve this with CSS (display: flex; flex-direction: column-reverse;) instead of Jquery.

    Thanks again,

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

You must be logged in to reply to this topic.