Home › Forums › Feature Requests › Show php template output of fields › Reply To: Show php template output of fields
The main problem with trying to do this is that there a lot of different ways to use fields. get_field()
is only one of the functions available and that does not help you with what is actually returned. What if the field is a repeater sub field. What would be shown if that sub field is an image field.
Also, unlike some other custom field plugins, there are only a few functions in ACF that will be used most of the time and the parameters for these functions are the same across all field types. I think that Elliot has done a great job at keeping the template code that need to be written to get fields extremely simple.
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.