Current File : /home/kelaby89/topflowroofingplumbing.com.au/wp-content/themes/homlane/404.php |
<?php
/**
* 404 page file
*
* @package WordPress
* @subpackage homlane
* @author Theme Arc <[email protected]>
* @version 1.0
*/
$allowed_html = wp_kses_allowed_html( 'post' ); ?>
<?php get_header();
$data = \HOMLANE\Includes\Classes\Common::instance()->data( '404' )->get();
do_action( 'homlane_banner', $data );
$options = homlane_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 {
?>
<!--Start Error Page Area-->
<section class="error-page-area">
<div class="container">
<div class="row">
<div class="col-xl-12">
<div class="error-content text-center wow slideInUp" data-wow-delay="0ms" data-wow-duration="1500ms">
<h4><?php echo wp_kses( $options->get( 'error_text' ), $allowed_html ) ? wp_kses( $options->get( 'error_text' ), $allowed_html ) : esc_html_e( 'Page Not Found', 'homlane' ); ?></h4>
<div class="title thm-clr"><?php echo wp_kses( $options->get( 'error_404' ), $allowed_html ) ? wp_kses( $options->get( 'error_404' ), $allowed_html ) : esc_html_e( '404', 'homlane' ); ?></div>
<p><?php echo wp_kses( $options->get( 'error_description' ), $allowed_html ) ? wp_kses( $options->get( 'error_description' ), $allowed_html ) : esc_html_e( 'We’re unable to find a page you are looking for, Try later or click the button.', 'homlane' ); ?></p>
<?php if ( $options->get('back_to_home_btn') ) : ?>
<div class="btns-box">
<a class="theme-btn-two" href="<?php echo( home_url( '/' ) ); ?>"><span><?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', 'homlane' ); ?></span></a>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</section>
<!--End Error Page Area-->
<?php
}
get_footer(); ?>