<?php
/* 
* Theme: PREMIUMPRESS CORE FRAMEWORK FILE
* Url: www.premiumpress.com
* Author: Mark Fail
*
* THIS FILE WILL BE UPDATED WITH EVERY UPDATE
* IF YOU WANT TO MODIFY THIS FILE, CREATE A CHILD THEME
*
* http://codex.wordpress.org/Child_Themes
*/
if (!defined('THEME_VERSION')) {	header('HTTP/1.0 403 Forbidden'); exit; } ?>

<?php get_header(); ?>

<main id="main">
  <div class="container">
    <div class="row my-5">
      <div class="col-md-12 text-center">
        <i class="fa fa-close" style="font-size:2000%;"></i>
        
        
        <?php if(function_exists('current_user_can') && current_user_can('administrator') ){ ?>
        
         <h3 class="mb-3"><?php echo __("Page Link Broken","premiumpress") ?></h3>
        <p class="mb-3"><?php echo __("Please check the page link is correct or reset your permalinks.","premiumpress") ?></p>
        <a href="<?php echo home_url(); ?>/wp-admin/options-permalink.php" class="btn btn-lg btn-primary mt-4"><?php echo __("Reset Permalinks","premiumpress") ?></a>
        
        
        <?php }else{ ?>
        
        
        <h3 class="mb-3"><?php echo __("Looks like something's broken here.","premiumpress") ?></h3>
        <p class="mb-3"><?php echo __("The page you were looking for could not be found. Head back home, or ","premiumpress") ?></p>
        <a href="<?php echo home_url(); ?>/?s=" class="btn btn-lg btn-primary mt-4"><?php echo __("Search Website","premiumpress") ?></a>
        
        
        <?php } ?>
        
        
      </div>
    </div>
  </div>
</main>
<?php get_footer(); ?>
