| Linux webm010.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 Path : /home/cuisinesj/www/new/wp-content/themes/customizr/templates/parts/modules/grid/ |
| Current File : /home/cuisinesj/www/new/wp-content/themes/customizr/templates/parts/modules/grid/grid_wrapper.php |
<?php
/**
* The template for displaying the grid item wrapper in lists of posts
*
* In WP loop
*
* @package Customizr
* @since Customizr 3.5.0
*/
/* Are we at the start of the loop? in this case print a section wrapper element */
if ( czr_fn_get_property( 'print_start_wrapper' ) ) : ?>
<div id="<?php czr_fn_echo('element_id') ?>" class="grid-container grid-container__classic <?php czr_fn_echo('element_class') ?>" <?php czr_fn_echo('element_attributes') ?>>
<div class="grid__wrapper grid">
<?php
endif;
/* Is the item we're about to display the first of a grid section (the expanded sticky is both a first and last of a grid section)*/
if ( czr_fn_get_property( 'is_first_of_grid' ) ) :
?>
<section class="row <?php czr_fn_echo('grid_section_class') ?>">
<?php
endif;
czr_fn_render_template(
'modules/grid/grid_item',
array( 'model_args' => czr_fn_get_property( 'grid_item' ) )
);
/* Is the item we're about to display the last of a grid section (the expanded sticky is both a first and last of a grid section)*/
if ( czr_fn_get_property( 'is_last_of_grid' ) ) :
?>
</section>
<?php
endif;
/* Close se section at the end of the loop */
if ( czr_fn_get_property( 'print_end_wrapper' ) ) : ?>
</div>
</div>
<?php endif;