HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/f/r/e/frenchy/refonte2023/wordpress/wp-content/themes/gimont/template-parts/blog/default.php
<?php $sticky_class = is_sticky()?'sticky':''; ?>

<article id="post-<?php the_ID(); ?>" <?php post_class('post-wrap '. $sticky_class); ?>  >
		
		<?php if( ( has_post_format('audio') || has_post_format('gallery') || has_post_format('video' ) || has_post_thumbnail() ) && gimont_blog_show_media() == 'yes' ) : ?>
			<div class="post-media">
				<?php 
					if( has_post_format('audio') ){

					 	get_template_part( 'template-parts/parts/audio' );

					}elseif( has_post_format('gallery') ){

						get_template_part( 'template-parts/parts/gallery' );

					}elseif( has_post_format('video' )){

						get_template_part( 'template-parts/parts/video' );

					}elseif(has_post_thumbnail()){

						get_template_part( 'template-parts/parts/thumbnail' );

			        }
				?>
			</div>
		<?php endif; ?>

		<?php get_template_part( 'template-parts/parts/meta' ); ?>

		<?php if( gimont_blog_show_title() == 'yes' ){
			get_template_part( 'template-parts/parts/title' );
		} ?>
		

		<?php if( gimont_blog_show_excerpt() == 'yes' ){ ?>
			<div class="post-excerpt">
				<?php get_template_part( 'template-parts/parts/excerpt' ); ?>
			</div>
		<?php } ?>

		
		<?php if( gimont_blog_show_readmore() == 'yes' ){
			get_template_part( 'template-parts/parts/readmore' ); 
		} ?>
		
		
</article>