<?php
$options = _WSH()->option();
	$text = '';
	$bg = manufacto_set($options, '404_page_bg') ? manufacto_set($options, '404_page_bg') : get_template_directory_uri().'/images/background/8.jpg';
	$title = manufacto_set($options, '404_page_title');
	$text = manufacto_set($options, '404_banner_text');
	$page_heading = manufacto_set($options, '404_page_heading');
	$page_description = manufacto_set($options, '404_page_tag_line');
	$page_text = manufacto_set($options, '404_page_text');
    get_header(); 
?>

<!--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-->

<!--Error Section-->
<section class="error-section">
    <div class="auto-container">
        <div class="content">
            <h1><?php if($page_heading) echo wp_kses_post($page_heading); else esc_html_e('404', 'manufacto'); ?></h1>
            <h2><?php if($page_description) echo wp_kses_post($page_description); else esc_html_e('Oops! That page cant be found', 'manufacto'); ?></h2>
            <div class="text"><?php if($page_text) echo wp_kses_post($page_text); else esc_html_e('Sorry, but the page you are looking for does not existing', 'manufacto'); ?></div>
            <a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="theme-btn btn-style-one"><?php esc_html_e('Go to home page', 'manufacto'); ?></a>
        </div>
    </div>
</section>
<!--End Error Section-->
  		
<?php get_footer(); ?>