$(document).ready(function() {
// Your Isotope initialization code here.
var $container = $('#your-isotope-container'); // Replace with your container's ID.
if ($container.length > 0) { // Überprüfen Sie, ob der Container existiert.
$container.isotope({
// Your Isotope options
});
} else {
console.error("Isotope container not found!");
}
});