Thanks for getting back to me Alexander!
I’ve been trying to go through articles like the above and following a few tutorials, and I think I’m halfway there. I’ve enqueued the js script files in WordPress’ functions.php file, but my browser returns the below “Unable to load the logic file: ‘visual_logic.js'” error.
I’ve kept the file structure the same as the one V3D generates, and the other scripts are visible as having been correctly loaded when I inspect element, so I assume (possibly wrongly) that this is possibly due to it being called by this line in the main js file:
var logicURL = params.logic ? params.logic : ‘__LOGIC__visual_logic.js’.replace(‘__LOGIC__’, ”);
…in a way that WordPress doesn’t like?
Any help and suggestions massively appreciated!
Edit: to clarify, even though the error message is from a deployment on a local site, it replicates for me when tested on a live site, too.
Attachments:
You must be
logged in to view attached files.