<?php
/**
 * The template for displaying 404 pages (Not Found).
 *
 * @package ts-charity
 */

get_header(); ?>

<main id="maincontent" role="main" class="content-ts">
	<div class="container middle-align">
		<h1><?php echo esc_html(get_theme_mod('ts_charity_title_404_page',__('404 Not Found','ts-charity')));?></h1>
		<p class="text-404"><?php echo esc_html(get_theme_mod('ts_charity_content_404_page',__('Looks like you have taken a wrong turn&hellip. Dont worry&hellip it happens to the best of us.','ts-charity')));?></p>
		<?php if( get_theme_mod('ts_charity_button_404_page','Back to Home Page') != ''){ ?>
			<div class="read-moresec">
        		<a href="<?php echo esc_url(home_url()); ?>" class="button"><?php echo esc_html(get_theme_mod('ts_charity_button_404_page',__('Back to Home Page','ts-charity')));?><span class="screen-reader-text"><?php echo esc_html(get_theme_mod('ts_charity_button_404_page',__('Back to Home Page','ts-charity')));?></span></a>
        	</div>
    	<?php } ?>
	</div>
	<div class="clearfix"></div>
</main>

<?php get_footer(); ?>