<?php
get_header();
while ( have_posts() ){
the_post();
$squares_layout_type = squares_get_post_meta( SQUARE_THEME_OPTIONS, get_the_ID(), 'cpsqr-opt-portfolio-layout' );
if( $squares_layout_type == 'slider' ){
get_template_part('sections/project_slider_section');
} else { // just 'normal' layout
get_template_part('sections/project_normal_section');
}
}
get_footer();
?>