Home › Forums › ACF PRO › Fields to commentform › Reply To: Fields to commentform
I have posted an issue about the location of the fields on the github forum and brought this to the developer’s attention, I know this change was very recent and maybe there is something that can be done. I don’t know if there’s a fix for it or not as ACF needs to run on some hook in the comment form in order to work. I’m not familiar with the hooks in the comment form.
As far as querying posts by custom fields on the comments, I don’t know if that’s possible, since they are attached to the comments and not the posts. I think you would need to query the comments and get a list of unique post ID’s and then use a post__in query for the posts.
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!
❓Ever wondered when and why ACF uses JSON instead of the database? Check out our summary of the most recent session of ACF Chat Friday for the answer, and make sure to register for the next session.— Advanced Custom Fields (@wp_acf) February 23, 2023
© 2023 Advanced Custom Fields.