404.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * The template for displaying 404 pages (not found)
  4. *
  5. * @link https://codex.wordpress.org/Creating_an_Error_404_Page
  6. *
  7. * @package spice-software
  8. */
  9. get_header();?>
  10. <section class="error-page">
  11. <div class="container<?php echo esc_html(spice_software_container());?>">
  12. <div class="row">
  13. <div class="col-lg-12 col-sm-12">
  14. <div class="text-center">
  15. <h2 class="title"><?php esc_html_e('SORRY!','spice-software' ); ?></h2>
  16. <h3><?php esc_html_e("This page isn't available.",'spice-software' ); ?></h3>
  17. <div class="mx-auto pt-4">
  18. <a href="<?php echo esc_url(home_url('/')); ?>" class="btn-small btn-default-dark"><i class="fa fa-long-arrow-left pr-2"></i><?php esc_html_e('Go To Homepage', 'spice-software' ); ?></a>
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. </section>
  25. <?php
  26. if(function_exists('spice_software_plus_activate')):
  27. if(get_theme_mod('error_contact_detail_enable',true) == true) :
  28. include_once(SPICE_SOFTWAREP_PLUGIN_DIR.'/inc/inc/home-section/contact-content.php');?>
  29. <div class="clearfix"></div>
  30. <?php
  31. endif;
  32. endif;
  33. get_footer();
  34. ?>