File: /homepages/29/d194883696/htdocs/clickandbuilds/MazeAccountants/wp-content/themes/convis/404.php
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Convis
*/
use ConvisTheme\Classes\Convis_Helper as Helper;
get_header();
$error_title = Helper::get_option( 'error_title', __( 'Oops! Nothing Was Found', 'convis' ) );
$error_message = Helper::get_option( 'error_message', __( 'Sorry! page did not found. The page you are looking for does not exist or has been moved', 'convis' ) );
$button_text = Helper::get_option( 'error_button_text', __( 'Go to Home', 'convis' ) );
$error_img = Helper::get_option( 'error_img', [ 'url' => CONVIS_ASSETS . '/img/404-illustration.png' ] );
?>
<div class="container">
<div class="error-content-area">
<div class="error-content">
<?php if ( $error_title ): ?>
<h2 class="error-title"><?php echo esc_html( $error_title ) ?></h2>
<?php endif; ?>
<?php if ( $error_message ): ?>
<p class="error-message"><?php echo esc_html( $error_message ) ?></p>
<?php endif; ?>
<a class="convis-button icon-right hover-left-right" href="<?php echo esc_url( home_url( '/' ) ) ?>">
<span class="button-text"><?php echo esc_html( $button_text ) ?></span>
<span class="button-icon"><i class="far fa-arrow-right"></i></span>
</a>
</div>
<div class="error-illustration">
<img src="<?php echo esc_url( $error_img[ 'url' ] ) ?>">
</div>
</div>
</div>
<?php
get_footer();