Current Path : /storage/v11800/acejewellery/public_html/wp-content/themes/lindo/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/acejewellery/public_html/wp-content/themes/lindo/404.php |
<?php
/**
* The template for displaying 404 pages (not found)
*
* @package WordPress
* @subpackage Lindo
* @since Lindo 1.0
*/
/*
*Template Name: 404 Page
*/
get_header();
//lindo_render_breadcrumbs();
$bgimg = lindo_get_config('bg-img');
$style = '';
if ( !empty($bgimg['id']) ) {
$img = wp_get_attachment_image_src($bgimg['id'], 'full');
if ( !empty($img[0]) ) {
$style = 'style="background-image: url('.$img[0].');"';
}
}
?>
<section class="page-404" <?php echo trim($style); ?>>
<div id="main-container" class="inner">
<div id="main-content" class="main-page">
<section class="error-404 not-found clearfix">
<div class="container">
<div class="row flex-middle-sm">
<div class="col-sm-6">
<div class="slogan">
<h4 class="title-big">
<?php
$title = lindo_get_config('404_title');
if ( !empty($title) ) {
echo esc_html($title);
} else {
esc_html_e('Oops! This page Could Not Be Found!', 'lindo');
}
?>
</h4>
</div>
<div class="page-content">
<div class="description">
<?php
$desc = lindo_get_config('404_description');
if ( !empty($desc) ) {
echo trim($desc);
} else {
esc_html_e('Sorry bit the page you are looking for does not exist, have been removed or name changed', 'lindo');
}
?>
</div>
<div class="return">
<a class="btn btn-theme" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php echo esc_html__('Go to homepage','lindo') ?></a>
</div>
</div><!-- .page-content -->
</div>
<!-- <div class="col-sm-7 hidden-xs">
<?php if( !empty($icon) && !empty($icon['url'])) { ?>
<img src="<?php echo esc_url( $icon['url']); ?>" alt="<?php bloginfo( 'name' ); ?>">
<?php }else{ ?>
<img src="<?php echo esc_url_raw( get_template_directory_uri().'/images/error.png'); ?>" alt="<?php bloginfo( 'name' ); ?>">
<?php } ?>
</div> -->
</div>
</div>
</section><!-- .error-404 -->
</div><!-- .content-area -->
</div>
</section>
<?php get_footer(); ?>