Current File : /home/getxxhzo/tinyrnd.com/wp-content/themes/flyweb/404.php |
<?php
/**
* The template for displaying 404 pages (Not Found)
*/
$error_four_image = flyweb_get_opt('error_four_image');
$error_four_title = flyweb_get_opt('error_four_title');
$error_four_desc = flyweb_get_opt('error_four_desc');
$error_four_button = flyweb_get_opt('error_four_button');
get_header('404');
?>
<!-- ERROR PAGE
================================================== -->
<section class="p-0">
<div class="container d-flex flex-column position-relative z-index-9">
<div class="row align-items-center min-vh-100 text-center justify-content-center">
<div class="col-xl-6 wow fadeInUp" data-wow-delay="200ms">
<div class="my-1-6">
<?php if(isset ($error_four_image['url']) && !empty ($error_four_image['url']) ){?>
<img src="<?php printf ( esc_url( ($error_four_image['url'])) ); ?>" class="mb-1-9" alt="<?php echo esc_attr__('404', 'flyweb'); ?>">
<?php } ?>
<h1 class="mb-3 h2">
<?php if(isset($error_four_title) && !empty($error_four_title)){?>
<?php echo esc_html($error_four_title); ?>
<?php }else{?>
<?php echo esc_html__( 'Oops ! this page is not found.', 'flyweb' );
}
?>
</h1>
<p class="mb-1-9">
<?php if(isset($error_four_desc) && !empty($error_four_desc)){?>
<?php echo esc_html($error_four_desc); ?>
<?php }else{?>
<?php echo esc_html__( 'We can’t find the page your are looking for. You can check out our help center or head back to Homepage.', 'flyweb' );
}
?>
</p>
<a href="<?php echo esc_url(home_url('/')); ?>" class="btn-style1"><span><?php if(isset($error_four_button) && !empty($error_four_button)){?><?php echo esc_attr($error_four_button); ?><?php }else{?><?php echo esc_html__( 'Back to Home', 'flyweb' );}?></span></a>
</div>
</div>
</div>
</div>
</section>
<?php
get_footer('404');
?>