title: TypeError: $container.isotope is not a function (Wordpress & Isotope)
body: <p>I have a problem with isotope &amp; wordpress. Im using an easy script which is not working when integrated into wordpress. I get the following error:  </p>
  
  <blockquote>
    <p>TypeError: $container.isotope is not a function". This is the code: </p>
  </blockquote>
  
  <pre><code>jQuery(function($) {
      /* ISOTOPE */
      var $container = $('.flex-grid');
      $container.isotope({
          itemSelector: '.grid-item',
          percentPosition: true,
          isAnimated: false,
          transitionDuration: 0,
          masonry: {
              columnWidth: '.grid-sizer',
          }
      });
  });
  </code></pre>
  
  <p>The script is loaded in the side footer as the last script.</p>