Advertisement
cyberdev

Untitled

Jul 11th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.93 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The Template for displaying 404 pages (Not Found).
  4.  *
  5.  * @license For the full license information, please view the Licensing folder
  6.  * that was distributed with this source code.
  7.  *
  8.  * @package Bimber_Theme 4.10
  9.  */
  10.  
  11. // Prevent direct script access.
  12. if ( ! defined( 'ABSPATH' ) ) {
  13.     die( 'No direct script access allowed' );
  14. }
  15.  
  16. get_header();
  17. ?>
  18.  
  19.     <div id="primary" class="g1-primary-max">
  20.         <div id="content" role="main">
  21.  
  22.             <article id="post-0">
  23.                 <?php
  24.                 // Prepare template part data.
  25.                 set_query_var( 'bimber_title',      __( 'Ooops, sorry! We couldn\'t find it', 'bimber' )  );
  26.                 set_query_var( 'bimber_subtitle',   __( 'You have requested a page or file which doesn\'t exist', 'bimber' ) );
  27.  
  28.                 // Load template part.
  29.                 get_template_part( 'template-parts/page/header', '01' );
  30.                 ?>
  31.  
  32.             </article><!-- #post-0 -->
  33.  
  34.         </div><!-- #content -->
  35.     </div><!-- #primary -->
  36.  
  37. <?php get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement