File: //home/globfdxw/diasporameetsafrica.com/wp-content/themes/lavelo/404.php
<?php
/*
* The template for displaying 404 pages (not found).
* Author & Copyright:Wpoceans
* URL: http://themeforest.net/user/wpoceans
*/
// Theme Options
$lavelo_error_heading = cs_get_option('error_heading');
$lavelo_error_subheading = cs_get_option('error_subheading');
$lavelo_error_page_content = cs_get_option('error_page_content');
$lavelo_error_page_bg = cs_get_option('error_page_bg');
$lavelo_error_btn_text = cs_get_option('error_btn_text');
$lavelo_error_heading = ( $lavelo_error_heading ) ? $lavelo_error_heading : esc_html__( '404', 'lavelo' );
$lavelo_error_subheading = ( $lavelo_error_subheading ) ? $lavelo_error_subheading : esc_html__( 'The page you are looking for does not exist.
', 'lavelo' );
$lavelo_error_page_content = ( $lavelo_error_page_content ) ? $lavelo_error_page_content : esc_html__( 'Page Not Found', 'lavelo' );
$lavelo_error_page_bg = ( $lavelo_error_page_bg ) ? wp_get_attachment_url($lavelo_error_page_bg) : LAVELO_IMAGES . '/404.png';
$lavelo_error_btn_text = ( $lavelo_error_btn_text ) ? $lavelo_error_btn_text : esc_html__( 'BACK TO HOME', 'lavelo' );
$image_alt = get_post_meta( $lavelo_error_page_bg , '_wp_attachment_image_alt', true);
get_header(); ?>
<section class="error-404-section">
<div class="container">
<div class="row">
<div class="col col-md-10 col-md-offset-1">
<div class="content">
<h2><?php echo esc_html($lavelo_error_heading); ?></h2>
<h3><?php echo esc_html($lavelo_error_subheading); ?></h3>
<p><?php echo esc_html($lavelo_error_page_content); ?></p>
<a href="<?php echo esc_url(home_url( '/' )); ?>" class="theme-btn-s2">
<?php echo esc_html($lavelo_error_btn_text); ?>
</a>
<div class="icon">
<i class="ti-microphone"></i>
</div>
</div>
</div>
</div> <!-- end row -->
</div> <!-- end container -->
</div> <!-- end container -->
<?php
get_footer();