WordPress
4
Вклад в тег
/*-------------------------------------
Masonry portfolio
—-----------------------------------*/
var $container = $(".masonry-portfolio");
$container.masonry({
columnWidth: ".masonry-item-pr",
itemSelector: ".masonry-item-pr"
});
$container.imagesLoaded(function () {
$container.masonry('layout');
});