<?php /* Template Name: King Composer Page */
	get_header() ;
	$options = _WSH()->option();
	$meta = _WSH()->get_meta('_bunch_header_settings');
	$bg = (manufacto_set($meta, 'header_img')) ? manufacto_set($meta, 'header_img') : get_template_directory_uri().'/images/background/8.jpg';
	$title = manufacto_set($meta, 'header_title');
	$text = manufacto_set($meta, 'header_text');
?>
<?php if(manufacto_set($meta, 'breadcrumb')):?>

<!--Page Title-->
<section class="page-title" <?php if($bg):?>style="background-image:url(<?php echo esc_url($bg)?>);"<?php endif;?>>
    <div class="auto-container">
        <h1><?php if($title) echo wp_kses_post($title); else wp_title('');?></h1>
        <div class="text"><?php if($text) echo wp_kses_post($text); else 'Graduate study in chemical engineering can lead to a career of research and teaching';?></div>
    </div>
    <!--Page Info-->
    <div class="page-info">
        <div class="auto-container clearfix">
            <div class="pull-right">
                <?php echo wp_kses_post(manufacto_get_the_breadcrumb()); ?>
            </div>
        </div>
    </div>
</section>
<!--End Page Title-->

<?php endif;?>
<?php while( have_posts() ): the_post(); ?>
    <?php the_content(); ?>
<?php endwhile;  ?>
<?php get_footer() ; ?>