Home › Forums › General Issues › Add a lot of custom fields to the_content › Reply To: Add a lot of custom fields to the_content
Forget that, you are missing an open { on line 72, the first link in your function
if ($post->post_type == 'sp-event')
change it to
if ($post->post_type == 'sp-event') {
This is really basic debugging stuff. There is an unexpected } which means that something before that point is missing. You need to figure out what’s missing.
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.