Your IP : 216.73.216.196


Current Path : /home/icmq6107/clients/SauvegardeCTOP/TOTBack/wp-content/themes/finbuzz/
Upload File :
Current File : /home/icmq6107/clients/SauvegardeCTOP/TOTBack/wp-content/themes/finbuzz/single-finbuzz_service.php

<?php
/**
 * @author  RadiusTheme
 * @since   1.0
 * @version 1.0
 */

// Layout class
if ( FinbuzzTheme::$layout == 'full-width' ) {
	$finbuzz_layout_class = 'col-sm-12 col-12';
} else {
	$finbuzz_layout_class = FinbuzzTheme_Helper::has_active_widget();
}
$service_layout_ops = get_post_meta( get_the_ID() ,'finbuzz_service_style', true );
$f_layout = ( empty( $service_layout ) || ( $service_layout  == 'default' ) ) ? $service_layout_ops : $service_layout;

?>
<?php get_header(); ?>
<div id="primary" class="content-area">
	<div class="container">
		<div class="row">
			<?php
			if ( FinbuzzTheme::$layout == 'left-sidebar' ) {
				if ( is_active_sidebar( 'service-sidebar' ) ) {
					get_sidebar('finbuzz_service');
				}
			}
			?>
			<div class="<?php echo esc_attr( $finbuzz_layout_class );?>">
				<main id="main" class="site-main <?php echo esc_attr( $f_layout );?>">
					<div class="rt-sidebar-sapcer">							
						<?php while ( have_posts() ) : the_post(); ?>
							<?php get_template_part( 'template-parts/content-single', 'service' );?>
						<?php endwhile; ?>
					</div>
				</main>
			</div>
			<?php
			if ( FinbuzzTheme::$layout == 'right-sidebar' ) {				
				if ( is_active_sidebar( 'service-sidebar' ) ) {
					get_sidebar('finbuzz_service');
				}
			}
			?>
		</div>
	</div>
</div>
<?php get_footer(); ?>