Why is this script not working?

I think the issue that the Google maps API isn’t loading correctly. You need to make sure that the both jQuery and Google maps API are being loaded. https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js http://maps.google.com/maps/api/js It can be any recent version of jQuery, and from any source. Assuming that your jQuery function is contained within your google-maps-address.js file the following … Read more

Can’t filter categories using isotope

Try to prevent the default behaviour of the click event using jQuery right from the beginning: jQuery(function ($) { var $container = $(‘#isotope-list’); //The ID for the list with all the blog posts var $isotope = $container.isotope({ //Isotope options, ‘item’ matches the class in the PHP itemSelector : ‘.item’, layoutMode : ‘masonry’ }); //Add the … Read more

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

shortcode execution when the page is opened

No, shortcodes do not work this way as they are parsed on the server-side and replaced with the relevant content before the page is sent over to the visitor’s browser. What you could do is to place the shortcode within a hidden element (like a <div>), then have JavaScript/jQuery unhide the hidden element’s content when … Read more