ACF variables in blade template

Create a controller for them.

Have a look here for an explanation & setup: GitHub - soberwp/controller: Composer package to enable a controller when using Blade with Sage 9

You might browse this thread as well, if you haven’t already.
https://discourse.roots.io/t/best-practice-resources-for-blade/8341/11?u=smutek

I linked to the post where I got all giddy when it hit me how awesome this setup is.

Hopefully this helps some, I haven’t been on the board lately and others may be able to provide some better examples.

8 Likes