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/single-portfolio.php
<?php
/* banner-php */
$port_single_style = get_post_meta(get_the_ID(), '_cmb_single_style', true);
$use_older_settings = get_post_meta(get_the_ID(), '_cmb_use_older_settings', true);

if($use_older_settings == 'yes'){
	switch ($port_single_style) {
		case 'style-1':
			get_template_part("template-parts/folio/single1" ,"");
			break;
		case 'style-2':
			get_template_part("template-parts/folio/single2" ,"");
			break;
		case 'style-3':
			get_template_part("template-parts/folio/single3" ,"");
			break;
		case 'style-4':
			get_template_part("template-parts/folio/single4" ,"");
			break;
		case 'style-5':
			get_template_part("template-parts/folio/single5" ,"");
			break;
		case 'style-6':
			get_template_part("template-parts/folio/single6" ,"");
			break;
		default:
			get_template_part("template-parts/folio/single1" ,"");
			break;
	}
}else{
	get_header( );
	if($port_single_style == 'style-1'|| $port_single_style == 'style-5') get_header('inner');
	while(have_posts()) : the_post();

	    the_content(); 
	    wp_link_pages(); 


	endwhile; 
	if($port_single_style == 'style-1'|| $port_single_style == 'style-5') get_footer('inner');
	get_footer( );
}