<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package has-submenu
 */

get_header();


$error_title = get_theme_mod( 'error_title', __( '404', 'edify' ) );
$error_content = get_theme_mod( 'error_text', __( 'Oops... Page Not Found!', 'edify' ) );
$error_desc= get_theme_mod( 'error_desc', __( 'Try using the button below to go to main page of the site', 'edify' ) );
$error_btn_text = get_theme_mod( 'error_btn_text', __( 'Back to Home', 'edify' ) );
$error_btn_link = get_theme_mod( 'error_btn_link', __( '#', 'edify' ) );

?>


<div class="page-wrapper 404_page">
    <div class="container">
        <div class="row">
            <div class="col-xl-8 mx-auto">
              <div class="error-page text-center error-404 not-found">
                 <div class="error-header">
                    <h2><strong><?php echo esc_html($error_title) ; ?></strong></strong></h2>
                 </div>
                 <div class="error-message">
                    <h3><?php echo esc_html($error_content) ; ?></h3>
                 </div>
                 
                 <div class="error-content">
                 <?php echo esc_html($error_desc) ; ?> <br>
					   <a href="<?php echo esc_url($error_btn_link) ; ?>" class="btn"><?php echo esc_html($error_btn_text) ; ?></a>
                 </div>
              </div>
           </div>
        </div>
    </div><!-- #main -->
</div>	


<?php

get_footer();
