Skip to content
Permalink
6986f8cb3f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
50 lines (49 sloc) 1.46 KB
<?php
/**
* The template for displaying 403 pages (Forbidden).
*
* @package cornerstone
*/
get_header(); ?>
<div id="error403">
<div class="row">
<div class="col-sm-12">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<section class="error-403 not-found">
<div class="row">
<div class="col-sm-6">
<header class="page-header">
<h1 class="page-title"><?php _e( 'Error 403: Access Denied.', 'cs' ); ?></h1>
<p class="text-muted">You do not have the correct permissions for this page. Please contact the site administrator to gain access.</p>
</header><!-- .page-header -->
<div class="page-content">
<div class="col-sm-6">
<ul>
<?php
if (wp_get_nav_menu_object('404')){
$defaults = array(
'menu' => '404',
'container' => false,
'items_wrap' => '%3$s',
'depth' => 1,
'fallback_cb' => false
);
wp_nav_menu( $defaults );
}
?>
</ul>
</div>
</div><!-- .page-content -->
</div>
<div class="col-sm-6">
<img src="<?php bloginfo('template_directory'); ?>/img/JonathanStill-403.png" alt="Photo of a puppy."/>
</div>
</div>
</section><!-- .error-404 -->
</main><!-- #main -->
</div><!-- #primary -->
</div>
</div>
</div>
<?php get_footer(); ?>