Categoría: ACF BRICKS CONDITIONS FREE PLUGINS
-

How to conditionally load your scripts based on an ACF field
This tutorial provides the PHP codes that can be pasted in order to enqueue your scripts conditionally based on the value of an ACF field when using Bricks Builder. Table of Contents Requirements Create a TRUE/FALSE custom field Apply the conditional enqueue in your child theme Activate/Deactivate your scripts on a page/post basis Conclusion Requirements…