Home › Forums › Bug Reports › Blocks: Instructions always display below field › Reply To: Blocks: Instructions always display below field
The reason this is happening is that there are a couple of spots in pro/blocks.php
where the acf_render_fields()
function is called with 'field'
hardcoded as the fourth input parameter. (Lines 562 and 896 in version 6.0.6.)
I wouldn’t advise editing the source code in a plugin, but I can confirm that just removing , 'field'
from those two function calls does work to get the function to revert to the default 'label'
value, and puts the instructions below the field labels rather than the fields themselves.
I would have to dig a bit deeper into the code to determine how to actually get it to pass the proper 'instruction_placement'
value from the field group configuration, but for my purposes I just needed a way to get it back to the default. Anyway… this should be an easy fix for the ACF devs if it’s on their radar. But it seems that it may not be. (I just submitted another ticket.)
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.