Hello,
It appears that you are using the Incorrect Codes. Make sure that you are using the updated codes from the Package:
[ch_pre type="js"]jQuery(window).on( 'pluginIsotopeReady', function(){
var $container = jQuery('#portfolio');
$container.isotope({ transitionDuration: '0.65s' });
function getHashFilter() {
var hash = location.hash;
// get filter=filterName
var matches = location.hash.match( /filter=([^&]+)/i );
var hashFilter = matches && matches[1];
return hashFilter && decodeURIComponent( hashFilter );
}
var isIsotopeInit = false;
function onHashchange() {
var hashFilter = getHashFilter();
if ( !hashFilter && isIsotopeInit ) {
return;
}
isIsotopeInit = true;
// filter isotope
$container.isotope({ filter: hashFilter });
// set selected class on button
if ( hashFilter ) {
jQuery('.grid-filter li').removeClass('activeFilter');
jQuery('.grid-filter li').find('[data-filter="' + hashFilter + '"]').parent('li').addClass('activeFilter');
}
}
jQuery(window).on( 'hashchange', onHashchange );
// trigger event handler to init Isotope
onHashchange();
jQuery('.grid-filter a').click(function(){
jQuery('.grid-filter li').removeClass('activeFilter');
jQuery(this).parent('li').addClass('activeFilter');
var selector = jQuery(this).attr('data-filter');
$container.isotope({ filter: selector });
var filterAttr = jQuery( this ).attr('data-filter');
location.hash = 'filter=' + encodeURIComponent( filterAttr );
return false;
});
});[/ch_pre]
This will work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.