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/folio/single2.php
<?php
/* banner-php */
get_header();

while(have_posts()) : the_post(); ?>
<div class="content full-height">
    <div class="show-info"><?php _e('Info','domik');?></div>
    <?php 
	$gallery = get_post_gallery( get_the_ID(), false );
	if(isset($gallery['ids'])) : ?>
    <div class="horizontal-slider-holder full-height">
    	<div class="swiper-container fw horizontal-slider" id="horizontal-slider" data-mws="1200" data-mwd="horizontal" data-mwc="1" data-mwa="5000" data-mwl="0">
        	<div class="swiper-wrapper">
            <?php
    			$gallery_ids = $gallery['ids'];
    			$img_ids = explode(",",$gallery_ids);
    			
    			foreach( $img_ids AS $img_id ){
    		?>
    		<div class="swiper-slide">
                <br>
                <div class="bg" style="background-image:url(<?php echo esc_url(domik_get_attachment_thumb_link($img_id, 'domikfull-width') );?>)"></div>
                <div class="overlay"></div>
                <div class="zoomimage"><?php echo wp_get_attachment_image( $img_id, 'full', '', array('class'=>'intense') );?><i class="fa fa-expand"></i></div>
            </div>


    		<?php  } ?>
        	</div>
        	<div class="swiper-nav-holder hor">
                <a class="swiper-nav arrow-left transition " href="#"><i class="fa fa-long-arrow-left"></i></a>
                <a class="swiper-nav  arrow-right transition" href="#"><i class="fa fa-long-arrow-right"></i></a>
            </div>
        	
        </div>
        <div class="pagination"></div>
    </div>
	<?php endif;?>
</div>
<div class="fixed-column not-vis-column">
    <div class="hide-column"></div>
    <div class="domik_container">
        <section  class="no-border">
            <div class="section-title">
                <h1><?php the_title();?></h1>
                <?php if(get_post_meta(get_the_ID(), '_cmb_folio_subtitle', true)!=""){
                    echo get_post_meta(get_the_ID(), '_cmb_folio_subtitle', true);
                } ?>
            </div>
            <div class="project-details">
				<?php the_content();?>
                <?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>
            <?php
            domik_portfolio_nav();
            if ( comments_open() || get_comments_number() ) :
                
                comments_template(); 
                
            endif; ?>
        </section>

    </div>
</div>
<?php endwhile;?>
<?php get_footer(); ?>