HEX
Server: Apache
System: Linux webm006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/cortonavolley/wp-content/themes/subway/blog-masonry.php
<?php 
/*
Template Name: Blog Masonry
*/ 
?>
<?php get_header(); ?>
<?php
$qode_sidebar    = subway_qode_get_sidebar_layout();
$qode_blog_query = subway_qode_get_blog_query_posts();
?>
    <?php get_template_part( 'title' ); ?>
    <?php get_template_part( 'slider' ); ?>
	<div class="container">
		<div class="container_inner clearfix">
			<?php if(($qode_sidebar == "default")||($qode_sidebar == "")) : ?>
					<div class="blog_holder masonry">
						<?php if($qode_blog_query->have_posts()) : while ( $qode_blog_query->have_posts() ) : $qode_blog_query->the_post(); ?>
							<?php 
								get_template_part('blog_masonry', 'loop');
							?>
						<?php endwhile; ?>
						<?php else: //If no posts are present ?>
							<div class="entry">                        
                                <p><?php esc_html_e('No posts were found.', 'subway'); ?></p>
							</div>
						<?php endif; ?>
					</div>
                    <?php subway_qode_get_blog_pagination( $qode_blog_query ); ?>
                    <?php wp_reset_postdata(); ?>

			<?php elseif($qode_sidebar == "1" || $qode_sidebar == "2"): ?>
				<div class="<?php if($qode_sidebar == "1"):?>two_columns_66_33<?php elseif($qode_sidebar == "2") : ?>two_columns_75_25<?php endif; ?> clearfix grid2 background_color_sidebar">
					<div class="column1">
						<div class="column_inner">
							<div class="blog_holder masonry">
								<?php if($qode_blog_query->have_posts()) : while ( $qode_blog_query->have_posts() ) : $qode_blog_query->the_post(); ?>
                                    <?php
                                        get_template_part('blog_masonry', 'loop');
                                    ?>
								<?php endwhile; ?>
								<?php else: //If no posts are present ?>
									<div class="entry">                        
                                        <p><?php esc_html_e('No posts were found.', 'subway'); ?></p>
									</div>
								<?php endif; ?>
							</div>
                            <?php subway_qode_get_blog_pagination( $qode_blog_query ); ?>
                            <?php wp_reset_postdata(); ?>
							
						</div>
					</div>
					<div class="column2">
						<?php get_sidebar(); ?>	
					</div>
				</div>
			<?php elseif($qode_sidebar == "3" || $qode_sidebar == "4"): ?>
				<div class="<?php if($qode_sidebar == "3"):?>two_columns_33_66<?php elseif($qode_sidebar == "4") : ?>two_columns_25_75<?php endif; ?> grid2 clearfix background_color_sidebar">
					<div class="column1">
						<?php get_sidebar(); ?>	
					</div>
					<div class="column2">
						<div class="column_inner">
							<div class="blog_holder masonry">
								<?php if($qode_blog_query->have_posts()) : while ( $qode_blog_query->have_posts() ) : $qode_blog_query->the_post(); ?>
                                    <?php
                                        get_template_part('blog_masonry', 'loop');
                                    ?>
								<?php endwhile; ?>
								<?php else: //If no posts are present ?>
									<div class="entry">                        
                                        <p><?php esc_html_e('No posts were found.', 'subway'); ?></p>
									</div>
								<?php endif; ?>
							</div>
                            <?php subway_qode_get_blog_pagination( $qode_blog_query ); ?>
                            <?php wp_reset_postdata(); ?>
							
						</div>
					</div>
				</div>
				<?php endif; ?>
		</div>
	</div>
<?php get_footer(); ?>