Home › Forums › ACF PRO › Tabs not working in front-end form › Reply To: Tabs not working in front-end form
I meant I’m not familiar with the template system you’re using. My only guess is that it has something to do with it.
So, you car calling it here…
{% if post.post_title == 'Submit' %}
{{ function('acf_form_head') }}
{% endif %}
{{ wp_head }}
</head>
and acf_form_head() needs to be called before any HTML is output. This is not the case since the opening <html>
tag and open <head>
tag must be before this point. You are calling the function on the wp_head action, which happens after the get_header() function is called.
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.