Dashboard
PHP:
8.3.17
OS:
Linux
User:
www-data
/
/
var
/
www
/
html
/
wp-content
/
themes
/
seozie
📤 Upload
📝 New File
📁 New Folder
Close
Editing: 404.php
<?php /** * The template for displaying 404 pages (not found) * * @link https://codex.wordpress.org/Creating_an_Error_404_Page * * @package WordPress * @subpackage seozie * @since 1.0 * @version 1.0 */ get_header(); $pt_theme_opt = get_option('pt_theme_opt'); $title_text = 'Oops! This Page is Not Found.' ; $desc_text = 'Please go back to home and try to find out once again.'; if(isset($pt_theme_opt['title_404']) && !empty($pt_theme_opt['title_404'])) { $title_text = $pt_theme_opt['title_404']; } if(isset($pt_theme_opt['description_404']) && !empty($pt_theme_opt['description_404'])) { $desc_text = $pt_theme_opt['description_404']; } ?> <div class="container"> <div id="primary" class="content-area"> <main id="main" class="site-main"> <div class="pt-not-found"> <div class="page-content"> <div class="row"> <div class="col-sm-12"> <div class="pt-error-block"> <div class="pt-errot-text"><?php esc_html_e( '404', 'seozie' ); ?></div> <h2><?php echo esc_html($title_text); ?></h2> <p><?php echo esc_html( $desc_text ); ?></p> <div class="pt-btn-block"> <div class="pt-btn-container"> <a href="<?php echo esc_url(home_url()); ?>" class="pt-button"> <div class="pt-button-block"> <span class="pt-button-line-left"></span> <span class="pt-button-text"><?php esc_html_e('Back to Home', 'seozie'); ?></span> <span class="pt-button-line-right"></span> </div> </a> </div> </div> </div> </div> </div> </div><!-- .page-content --> </div><!-- .error-404 --> </main><!-- #main --> </div><!-- #primary --> </div><!-- .container --> <?php get_footer();
Save
Cancel