/home/blackyak/www/wordpress/wp-content/themes/travivu/404.php
<?php
/**
*
* @author Gaviasthemes
* @copyright Copyright (C) 2025 Gaviasthemes. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
*/
$primary_text = travivu_get_option('nfpage_primary_text', '');
$title = travivu_get_option('nfpage_title', '');
$desc = travivu_get_option('nfpage_desc', '');
$btn_title = travivu_get_option('nfpage_btn_title', '');
$btn_link = travivu_get_option('nfpage_btn_link', '');
$btn_link = !empty($bth_title) ? $bth_title : home_url( '/' );
$image = TRAVIVU_THEME_URL . '/assets/images/404-image.png';
$nfpage_image = travivu_get_option('nfpage_image', false);
if(isset($nfpage_image['url']) && !empty($nfpage_image['url'])){
$image = $nfpage_image['url'];
}
?>
<?php get_header(); ?>
<div id="content">
<div class="page-wrapper">
<div class="not-found-wrapper text-center">
<div class="not-found-image">
<img src="<?php echo esc_url($image) ?>" alt="<?php echo esc_attr__('404 not found', 'travivu') ?>" />
</div>
<div class="not-found-title">
<h1><?php echo ( !empty($title) ? esc_html($title) : esc_html__('OPPS! This Page is Not Found', 'travivu') ); ?></h1>
</div>
<div class="not-found-desc">
<?php echo ( !empty($desc) ? esc_html($desc) : esc_html__('The page requested could not be found. This could be a spelling error in the URL or a removed page.', 'travivu') ); ?>
</div>
<div class="not-found-home text-center">
<a class="btn-theme" href="<?php echo esc_url($btn_link); ?>">
<i class="far fa-arrow-alt-circle-left"></i>
<?php echo ( !empty($btn_title) ? esc_html($btn_title) : esc_html__('Back Homepage', 'travivu') ); ?>
</a>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>