404.php 962 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /**
  3. * The template for displaying 404 pages (not found)
  4. *
  5. * @package WordPress
  6. * @subpackage Taskereasy
  7. * @since Taskereasy 1.0
  8. */
  9. get_header();
  10. taskereasy_blog_banner();
  11. ?>
  12. <?php $error_bg = taskereasy_get_config('404_img'); ?>
  13. <div id="primary" class="content-area">
  14. <main id="main" class="site-main">
  15. <section class="error section-padding">
  16. <div class="container">
  17. <div class="text-center">
  18. <?php if(!empty($error_bg['url'])){ ?>
  19. <img src="<?php echo esc_url($error_bg['url']) ?>" alt="image"/>
  20. <?php } ?>
  21. <div class="space-40"></div>
  22. <h2><?php echo esc_html__('Page Not Found', 'taskereasy'); ?></h2>
  23. <a href="<?php echo esc_url(get_site_url()); ?>" class="btn"><?php echo esc_html__('Back to Home', 'taskereasy'); ?></a>
  24. </div>
  25. </div>
  26. </section>
  27. </main><!-- .site-main -->
  28. </div><!-- .content-area -->
  29. <?php get_footer(); ?>