Masonry grid with bootstrap 4

You are blending the Bootstrap framework and the Masonry.js library, but asking for help troubleshooting the resulting CSS on WordPress StackExchange. You’ll have better luck on Stack Overflow 🙂 This isn’t really a WordPress question. I will say I do notice something odd about your code which is that whatever you’re trying to do with … Read more

Uncaught SyntaxError: missing ) after argument list [duplicate]

You have the same error repeated on each script. Look at the attribute delimiters. They start using double quotes, then switch: <script src=”https://…js’ defer onload='”> ^ ^ Should be: <script src=”https://…js” defer onload=””> The first single quote I’ve marked, ends the enclosing string. That’s not invalid, but not what is intended. Everything after that point … Read more

Theme path of WordPress inside javascript file

You don’t seem to have a trigger for your JS. You can test that the script is actually running by adding a quick console, such as console.log(‘xyz.js is running’); Once you’re sure your JS is running, you can add a trigger. If you’re already loading jQuery, it has an easy .ready() function to use, but … Read more