HEX
Server: Apache
System: Linux webd006.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: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/index.php
<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 */

$blog_layout = get_theme_mod( 'archive_post_layout', 'masonry_layout' );

?>

<?php
if ( have_posts() ) :?>
	<div class="row">
		<div class="blog-content <?php echo esc_attr( $blog_layout ); ?>">
			<?php
			/* Start the Loop */
			while ( have_posts() ) : the_post();
				get_template_part( 'templates/template-parts/content' );
			endwhile;
			?>
		</div><!-- .blog-content.blog-list -->
	</div><!-- .row -->
	<?php
	thim_paging_nav();
else :
	get_template_part( 'templates/template-parts/content', 'none' );
endif;