@radgh @jonathan
Sorry, I’m a bit of an ACF newbie so sorry if this is a silly question:
I’ve adapted the above code for my uses and tried adding it to my main .js file, but the function doesn’t appear to be firing. It seems that typeof acf
is undefined?
When you say “THIS BLOCK MUST COME BEFORE DOCUMENT READY, AFTER ACF JS HAS LOADED.”, where should it go? I wonder if this could maybe be the issue?