HEX
Server: LiteSpeed
System: Linux premium263.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: eastcjee (525)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: /home/eastcjee/londonribeyesteak.co.uk/wp-content/themes/restar_old/404.php
<?php
/**
 * @Packge     : Restar
 * @Version    : 1.0
 * @Author     : Themeholy
 * @Author URI : https://themeforest.net/user/themeholy
 *
 */

    // Block direct access
    if( !defined( 'ABSPATH' ) ){
        exit();
    }

    if( class_exists( 'ReduxFramework' ) ) {
        $restar404title     = restar_opt( 'restar_error_title' );
        $restar404description  = restar_opt( 'restar_error_description' );
        $restar404btntext      = restar_opt( 'restar_error_btn_text' );
    } else {
        $restar404title     = __( 'OooPs! Page Not Found', 'restar' );
        $restar404description  = __( 'Oops! The page you are looking for does not exist. It might have been moved or deleted.
        Please check and try again a search?', 'restar' );
        $restar404btntext      = __( ' Back To Home', 'restar');

    }

    // get header //
    get_header(); 
    
        echo '<section class="space">'; 
            echo '<div class="container">';
                echo '<div class="error-img">';
                    if(!empty(restar_opt('restar_error_img', 'url' ) )){
                        echo '<img src="'.esc_url( restar_opt('restar_error_img', 'url' ) ).'" alt="'.esc_attr__('404 image', 'restar').'">';
                    }else{
                        echo '<img src="'.get_template_directory_uri().'/assets/img/error.png" alt="'.esc_attr__('404 image', 'restar').'">';
                    }
                echo '</div>';
                echo '<div class="error-content">';
                    if(!empty($restar404title)){
                        echo '<h2 class="error-title title-ani2">'.wp_kses_post( $restar404title ).'</h2>';
                    }
                    echo '<div class="text-ani">';
                        if(!empty($restar404description)){
                            echo '<p class="error-text">'.esc_html( $restar404description ).'</p>';
                        }
                    echo '</div>';
                    echo '<div class="text-ani">';
                        echo '<a href="'.esc_url( home_url('/') ).'" class="th-btn error-btn"><i class="far fa-home me-2"></i>'.esc_html( $restar404btntext ).'</a>';
                    echo '</div>';
                echo '</div>';
            echo '</div>';
        echo '</section>';

    //footer
    get_footer();