title: jQuery Isotope Filter from Different Page Wordpress
body: <p>I'm trying to filter from an entirely different page, to where my Isotope is. </p>
  
  <p>Currently, I am calling isotope sucessfully with:</p>
  
  <pre><code> $(function() {
      // cache container
      var $container = $('.isotope-container');
      var $defaultfilter = $('.feature-this');
      $('.isotope-container').isotope({
        filter: '.feature-this',
        masonry: { columnWidth: 326, resizesContainer: false }
      });
  
      // filter items when filter link is clicked
      $('#filters a').click(function(){
        var selector = $(this).attr('data-filter');
        $container.isotope({ filter: selector });
        return false;
      });
      // set selected menu items
     var $optionSets = $('.option-set'),
         $optionLinks = $optionSets.find('a');
  
         $optionLinks.click(function(){
            var $this = $(this);
      // don't proceed if already selected
      if ( $this.hasClass('selected') ) {
          return false;
      }
     var $optionSet = $this.parents('.option-set');
     $optionSet.find('.selected').removeClass('selected');
     $this.addClass('selected'); 
    });
  });
  </code></pre>
  
  <p>I would like to, from another page, filter results when a link is clicked, with a markup like:</p>
  
  <pre><code>    &lt;ul&gt;
          &lt;li&gt;&lt;a href="/isotope/#filter=.filter1"&gt;Filter 1&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/isotope/#filter=.filter2"&gt;Filter 2&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/isotope/#filter=.filter3"&gt;Filter 3&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/isotope/#filter=.filter4"&gt;Filter 4&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="/isotope/#filter=.filter5"&gt;Filter 5&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  </code></pre>
  
  <p>I can't get it to work. It works as desired here, but not from a different page:</p>
  
  <p><a href="http://isotope.metafizzy.co/demos/hash-history.html" rel="nofollow">http://isotope.metafizzy.co/demos/hash-history.html</a></p>