Open merijnponzo opened 3 years ago
This looks really amazing, but because we rely on Timber I think we should think a bit more about integrating this feature into Timber (or creating an add-on for it).
Than Timber ACF Blocks should work with this out of the box.
True story, great plugin! Thanks
Hello,
Instead of using EnqueueScript i would rather 'stack' my javascript from each .twig block and push it to the footer (inline) Similar to blades '@stack' function i tested twig-stack-extension https://github.com/filhocodes/twig-stack-extension but it's not working with the timber-acf-wp-blocks.
My guess is that like the twig-stack-extension says:
The twig-stack-extension is not triggered within the timber-acf-wp-blocks.php
Any ideas how scripts within the blocks could be stacked and outputted inline within the footer like this example
Would be super awesome