1 – Експансія
Експансія

1

‘ : ”; ?>
<div class="row gridlove-posts"> <?php if( have_posts() ): ?> <?php $grid = gridlove_get_archive_layout(); ?> <?php $i = 0; $j = 0; $base = 0; while( have_posts() ) : the_post(); ?> <?php echo gridlove_open_masonery_wrapper($j) ? '<div class="gridlove-masonry-wrapper">' : ''; ?> <?php if( $i == count( $grid ) ) { $i = $base; } ?> <?php $post_col = $grid[$i]['col']; ?> <div class="<?php echo esc_attr( gridlove_get_bootstrap_columns( $post_col ) ); ?> layout-<?php echo gridlove_get_archive_layout_type()?>"> <?php $post_col .= gridlove_get_archive_layout_type() === 'masonry' ? '-orig' : ''; ?> <?php include( locate_template('template-parts/layouts/content-'. $grid[$i]['layout'].'.php') ); ?> </div> <?php if( isset( $grid[$i]['base'] ) ) { $base = $i; } ?> <?php $i++; $j++; ?> <?php endwhile; ?> <?php echo gridlove_close_masonery_wrapper() ? '</div>' : ''; ?> <?php else: ?> <?php get_template_part('template-parts/layouts/content-none'); ?> <?php endif; ?> </div>
‘ : ”; ?>