404.php (886B)
1 <?php 2 /** 3 * The main template file 4 * 5 * This is the most generic template file in a WordPress theme 6 * and one of the two required files for a theme (the other being style.css). 7 * It is used to display a page when nothing more specific matches a query. 8 * E.g., it puts together the home page when no home.php file exists. 9 * 10 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ 11 * 12 * @package welbim 13 */ 14 15 get_header(); 16 ?> 17 <section class="error-section centred"> 18 <div class="auto-container"> 19 <div class="inner-box"> 20 <h1><?php esc_html_e( '404', 'welbim' ); ?></h1> 21 <h2><?php echo wp_kses_post( 'page is not found. <br/>the page is doesn’t exist or deleted', 'welbim' ); ?></h2> 22 <a href="<?php esc_url( home_url( '/' ) ); ?>" class="theme-btn-one"><?php esc_html_e( 'Go To Home', 'welbim' ); ?></a> 23 </div> 24 </div> 25 </section> 26 <?php 27 get_footer(); 28