Home › Forums › General Issues › Insert PHP code on specific place with ACF into WPBakery Page › Reply To: Insert PHP code on specific place with ACF into WPBakery Page
This is a question for the editor you’re using and not ACF. I do not know how to include a template file with that editor.
In most cases with these editors you need to use a shortcode to do something like this. https://developer.wordpress.org/reference/functions/add_shortcode/
The shortcode would run the php code that you posted.
Unless there is something in the editor you are using that lets you add php code in the editor.
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.