HEX
Server: Apache
System: Linux linplesk41.pumo.com.tw 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
User: rajlaw (10192)
PHP: 7.4.24
Disabled: phpinfo,passthru,exec,shell_exec,system,popen,proc_open,proc_close,show_source,pcntl_exec,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,escapeshellarg
Upload Files
File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/themes/advokat/404.php
<?php
/**
 * @author  rs-theme
 * @since   1.0
 * @version 1.0 
 */
wp_head(); 
global $advokat_option;
?>
    <div class="page-error">
        <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">
                                <h3>  
                                    <span>                                            
                                        <?php
                                            if(!empty($advokat_option['title_404'])){
                                                echo wp_kses_post($advokat_option['title_404']);
                                            }
                                            else{
                                                echo esc_html__( '404', 'advokat' ); 
                                            }
                                        ?>
                                    </span>                      
                                    <?php
                                        if(!empty($advokat_option['text_404'])){
                                            echo wp_kses_post($advokat_option['text_404']);
                                        }
                                        else{
                                          echo esc_html__( 'Page Not Found', 'advokat' ); 
                                        }
                                    ?>
                                </h3>

                                <div class="bs-sidebar">
                                    <?php get_search_form(); ?>
                                </div><!-- .bs-sidebar -->
                                <a class="readon" href="<?php echo esc_url( home_url('/') ); ?>">
                                    <?php
                                        if(!empty($advokat_option['back_home'])){
                                            echo esc_html($advokat_option['back_home']);
                                        }
                                        else{
                                            echo esc_html__('OR BACK TO HOMEPAGE', 'advokat'); 
                                        }
                                    ?>
                                </a>
                            </div><!-- .page-content -->
                        </section><!-- .error-404 -->    
                    </main><!-- #main -->
                </div><!-- #primary -->
            </div>
        </div>   
    </div> <!-- .page-error -->
<?php
wp_footer(); ?>