Uname: Linux premium72.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.2.29 [ PHP INFO ] PHP os: Linux
Server Ip: 198.54.125.95
Your Ip: 216.73.216.112
User: matican (532) | Group: matican (531)
Safe Mode: OFF
Disable Function:
NONE

name : 404.php
<?php
/**
 * @author  rs-theme
 * @since   1.0
 * @version 1.0 
 */
get_header('404');

global $dabble_option;
$error_bg = !empty($dabble_option['error_bg']['url']) ? 'style="background:url('.$dabble_option['error_bg']['url'].')"': '';?>

<div class="page-error <?php if($dabble_option){ echo esc_attr('not-found-bg');}?>" <?php echo wp_kses_post( $error_bg ); ?>>
    <div class="container">
        <div id="content">
            <div id="primary" class="content-area">
                <main id="main" class="site-main">    
                    <section class="error-404 not-found">    
                        <div class="page-content">
                            <h2>
                                <span>
                                    
                                    <?php
                                        if(!empty($dabble_option['title_404'])){
                                            echo esc_html($dabble_option['title_404']);
                                        }
                                        else{
                                            echo esc_html__( '404', 'dabble' ); 
                                        }
                                    ?>
                                </span>                      
                                <?php

                                 if(!empty($dabble_option['text_404'])){
                                      echo esc_html($dabble_option['text_404']);
                                 }
                                 else{
                                  echo esc_html__( 'oops! page not found', 'dabble' ); }
                                 ?>
                            </h2>
                            <a class="readon" href="<?php echo esc_url( home_url('/') ); ?>">
                                <?php
                                 if(!empty($dabble_option['back_home'])){
                                     echo esc_html($dabble_option['back_home']);
                                 }
                                 else{
                                     esc_html_e('Or back to homepage', 'dabble'); 
                                  }
                                ?>
                            </a>
                        </div><!-- .page-content -->
                    </section><!-- .error-404 -->    
                </main><!-- #main -->
            </div><!-- #primary -->
        </div>
    </div>   
</div> <!-- .page-error -->
<?php
get_footer('404');
© 2025 XylotrechusZ