HEX
Server: Apache
System: Linux webd003.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/studiomilighetti/wp-content/themes/domik/template-parts/post/content.php
<?php
/* banner-php */
 
?>

<div <?php post_class('content-content gallery-item');?>>
    <div class="grid-item-holder">
        <article>
        	
        	<?php domik_list_meta_post(); ?>

			<?php 
			// Get the list of files
		    $slider_images = get_post_meta( get_the_ID(), '_cmb_post_slider_images', true);
		    if( !empty($slider_images) && get_post_format( ) !== 'gallery' ){ ?>
			<div class="blog-media">
				<div class="post-slider-holder">
	                <div class="post_thumb_slider owl-carousel owl-theme refreshowlonresize">
	                   	<?php 
		                foreach ( (array) $slider_images as $img_id => $img_url ) {
					        echo '<div class="item">';
					        echo wp_get_attachment_image( $img_id, 'blog-thumb', false, array('class'=>'respimg') );
					        echo '</div>';
					    }
						?>
	                   	
	                </div>
	            </div>
		    </div>
			<?php
			}elseif(has_post_thumbnail( )){ ?>
			<div class="blog-media">
				<div class="box-item">
	                <a href="<?php the_permalink();?>" class="ajax">
	                <span class="overlay"></span>
	                <?php the_post_thumbnail('blog-thumb',array('class'=>'respimg') ); ?>
	                </a>
	            </div>
		    </div>
			<?php } ?>
        
            <div class="blog-text">
                <h3 class="post-title"><a class="ajax" href="<?php the_permalink();?>"><?php the_title();?></a> <?php edit_post_link( __( 'Edit', 'domik' ), '<span class="edit-link">', '</span>' ); ?></h3>
                
                <?php the_excerpt();?>
                
                <?php
					wp_link_pages( array(
					'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'domik' ) . '</span>',
					'after'       => '</div>',
					'link_before' => '<span>',
					'link_after'  => '</span>',
					) );
				?>
				
				<div class="clearfix"></div>
				<a href="<?php the_permalink();?>" class="ajax btn"><span><?php _e('read more','domik');?> </span> <i class="fa fa-long-arrow-right"></i></a>
            </div>
        </article>
    </div>
</div>