Advertisement
Guest User

404.php

a guest
Feb 15th, 2019
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. <?php
  2. /**
  3. * The template for displaying 404 pages (Not Found).
  4. *
  5. * @package Catch Themes
  6. * @subpackage Catch Box
  7. * @since Catch Box 1.0
  8. */
  9.  
  10. get_header(); ?>
  11.  
  12. <article id="post-0" class="post error404 not-found">
  13. <header class="entry-header">
  14. <h1 class="entry-title"><?php _e( 'Error 404 - Page Not Found.', 'catch-box' ); ?></h1>
  15. </header>
  16.  
  17. <div class="entry-content">
  18. <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for.', 'catch-box' ); ?></p>
  19. <h2><?php _e( 'This might be because:', 'catch-box' ); ?></h2>
  20. <p><?php _e( 'You have typed the web address incorrectly, or the page you were looking for may have been moved, updated or deleted.', 'catch-box' ); ?></p>
  21. <h2><?php _e( 'Please try the following options instead:', 'catch-box' ); ?></h2>
  22. <p><?php _e( 'Check for a mis-typed URL error, then press the refresh button on your browser or Use the search box below.', 'catch-box' ); ?></p>
  23. <?php get_search_form(); ?>
  24. </div><!-- .entry-content -->
  25.  
  26. </article><!-- #post-0 -->
  27.  
  28. </div><!-- #content -->
  29.  
  30. <?php
  31. /**
  32. * catchbox_after_content hook
  33. *
  34. */
  35. do_action( 'catchbox_after_content' ); ?>
  36.  
  37. </div><!-- #primary -->
  38.  
  39. <?php get_sidebar(); ?>
  40.  
  41.  
  42. <?php
  43. /**
  44. * catchbox_after_primary hook
  45. *
  46. */
  47. do_action( 'catchbox_after_primary' ); ?>
  48.  
  49. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement