Enable masonry form wordpress
add_action( 'wp_enqueue_scripts', 'jk_masonry' );
function jk_masonry() {
wp_enqueue_script( 'jquery-masonry', array( 'jquery' ) );
}
/*
How to use?
$('#container').masonry({ singleMode: true });
or
$('#container').masonry({ columnWidth: 200 });
Get masonry resources form here: http://masonry.desandro.com/
*/