Home › Forums › General Issues › ACF Textarea: Show PHP? › Reply To: ACF Textarea: Show PHP?
Hello!
Sorry, I don’t really understand what I should to do to display the PHP from the textarea with the code you have given.
So for the first part, I should use that code to only display content if there is content in the custom field, or is it to show the PHP? Also, I don’t quite understand why you did <div="<?php the_field('rep_last_name'); ?>"
and ended it with a </span>
?
Also, I’m a bit confused on what to a shortcode’s use is. :S Is it to show the PHP in the textarea?
Thanks for helping!
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.