Home › Forums › General Issues › Strings in the_field › Reply To: Strings in the_field
Thanks a lot Hube2! That worked, I just needed to add the option-call and all is fine:
printf(get_field('my-ACF-field-value', 'option'), get_the_title($post->post_parent));
I thought ACF probably didn’t use %s and this wouldn’t be possible, but I’m happy I was wrong. Amazing plugin, I am continuously impressed the more I learn about it.
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.