Home › Forums › Backend Issues (wp-admin) › get_field not recognised › Reply To: get_field not recognised
Without seeing what you’re actually doing, it’s hard to really help. This code is kind of confusing to me. echo ($show_size == "full") ? do_shortcode(nl2br(get_the_content(' '))) : get_the_excerpt();
Your above code doesn’t actually put the get_field() function into the content area, so you wouldn’t be seeing anything on the front end.
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.