This ACF field searches {theme_url}/assets/build/js/selectable
for Javascript files. You can then select those files to be used in that specific page.
This should prevent the need to bundle all custom JS in a globally included file like main.js.
tex0gen / acf-js-loader Goto Github PK
View Code? Open in Web Editor NEWJavascript loader ACF field