-
Notifications
You must be signed in to change notification settings - Fork 0
/
403.php
43 lines (35 loc) · 1.32 KB
/
403.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* Template for displaying 403 pages (Forbidden Access)
*
* This is a new template created for the theme.
* It is used and displayed by the `includes/error-pages.php` library.
*
* @package WP_Basic_Bootstrap
* @since WP_Basic_Bootstrap 1.0
*/
$template = get_template_type();
$page_type = get_page_type();
if (BASICBOOTSTRAP_TPLDBG) {
error_log('loaded file : '.__FILE__);
error_log('page type : '.$page_type);
error_log('applied template : '.$template);
}
get_header_hierarchical('403'); ?>
<div id="content" role="main">
<?php get_the_breadcrumb(); ?>
<article id="post-0" class="post not-found jumbotron">
<header class="header">
<h1 class="entry-title"><?php _e('Forbidden Access', 'basicbootstrap'); ?></h1>
</header>
<section class="entry-content">
<h2 class="text-center"><?php _e('This is somewhat embarrassing, isn’t it?', 'basicbootstrap'); ?></h2>
<p class="text-center">
<?php _e('It seems you don’t have the permissions to access what you’re looking for. Perhaps searching can help.', 'basicbootstrap'); ?>
</p>
</section>
<?php get_search_form_hierarchical(); ?>
</article>
</div>
<?php get_sidebar_hierarchical('403'); ?>
<?php get_footer_hierarchical('403'); ?>