%k25u25%fgd5n!
<?php
/**
* 404 page file
*
* @package WordPress
* @subpackage Fauxis
* @author Template Path <admin@template_path.com>
* @version 1.0
*/
$text = sprintf(__('Page Not Found', 'fauxis'), esc_url(home_url('/')));
$allowed_html = wp_kses_allowed_html( 'post' );
?>
<?php get_header();
$data = \FAUXIS\Includes\Classes\Common::instance()->data( '404' )->get();
do_action( 'fauxis_banner', $data );
$options = fauxis_WSH()->option();
if ( class_exists( '\Elementor\Plugin' ) AND $data->get( 'tpl-type' ) == 'e' AND $data->get( 'tpl-elementor' ) ) {
echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $data->get( 'tpl-elementor' ) );
} else {
?>
<!-- error-section -->
<section class="error-section centred sec-pad">
<div class="auto-container">
<div class="inner-box">
<h1>
<?php echo wp_kses( $options->get( 'error_page_title' ), $allowed_html ) ? wp_kses( $options->get( 'error_page_title' ), $allowed_html ) : esc_html_e( '404', 'fauxis' ); ?>
</h1>
<h2>
<?php echo wp_kses( $options->get( 'error_page_text' ), $allowed_html ) ? wp_kses( $options->get( 'error_page_text' ), $allowed_html ) : esc_html_e( 'Page Not Found', 'fauxis' ); ?>
</h2><br>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="theme-btn-one">
<?php echo wp_kses( $options->get('back_home_btn_label'), $allowed_html ) ? wp_kses( $options->get('back_home_btn_label'), $allowed_html ) : esc_html_e( 'Back To Home Page', 'fauxis' ); ?>
</a>
</div>
</div>
</section>
<!-- error-section end -->
<?php
}
get_footer(); ?>