| 1 |
<div <?php echo qi_blocks_get_block_container_html_attributes_string( $params ); ?>> |
| 2 |
<div <?php qi_blocks_class_attribute( $holder_classes ); ?>> |
| 3 |
<?php |
| 4 |
if ( isset( $params[ 'behavior' ] ) && 'masonry' === $params['behavior'] ) { ?> |
| 5 |
<div <?php qi_blocks_class_attribute( $masonry_classes ); ?>> |
| 6 |
<?php } |
| 7 |
?> |
| 8 |
<div class="qodef-gutenberg-row"> |
| 9 |
<?php |
| 10 |
// Include global masonry template from theme |
| 11 |
qi_blocks_template_part( 'masonry', 'templates/sizer-gutter', '', $params['behavior'] ); |
| 12 |
|
| 13 |
// Include items |
| 14 |
qi_blocks_template_part( 'blocks/blog-list', 'templates/loop', '', $params ); |
| 15 |
?> |
| 16 |
</div> |
| 17 |
<?php |
| 18 |
if ( isset( $params[ 'behavior' ] ) && 'masonry' === $params['behavior'] ) { ?> |
| 19 |
</div> |
| 20 |
<?php } |
| 21 |
// Include global pagination from theme |
| 22 |
qi_blocks_template_part( 'pagination', 'templates/pagination', 'standard', $params ); |
| 23 |
?> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
|