<?php
/**
 * The template for displaying 404 pages (Not Found).
 * @package Charity Welfare Funds
 */
get_header(); ?>

<main role="main" id="skip_content" class="content_box">
    <div class="container">
        <div class="page-content pt-4 text-center">
            <h1><?php echo esc_html(get_theme_mod('charity_welfare_funds_page_not_found_heading',__('404 Not Found','charity-welfare-funds')));?></h1>
            <p class="text-404"><?php echo esc_html(get_theme_mod('charity_welfare_funds_page_not_found_text',__('Looks like you have taken a wrong turn. Dont worry it happens to the best of us.','charity-welfare-funds')));?></p>
            <?php if( get_theme_mod('charity_welfare_funds_page_not_found_button','Back to Home Page') != ''){ ?>
                <div class="read-moresec mt-3 mb-4 mx-0">
                    <a href="<?php echo esc_url( home_url() ); ?>" class="button py-2 px-3"><?php echo esc_html(get_theme_mod('charity_welfare_funds_page_not_found_button',__('Back to Home Page','charity-welfare-funds')));?><span class="screen-reader-text"><?php echo esc_html(get_theme_mod('charity_welfare_funds_page_not_found_button',__('Back to Home Page','charity-welfare-funds')));?></span></a>
                </div>
            <?php } ?>
        </div>
        <div class="clearfix"></div>
    </div>
</main>

<?php get_footer(); ?>