5a8c634d by Jeff Balicki

test

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 412e4539
<?php
/**
* The template for displaying 404 pages (not found)
*
* @package Understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
get_header();
$container = get_theme_mod( 'understrap_container_type' );
?>
<div class="wrapper" id="error-404-wrapper">
<div class="<?php echo esc_attr( $container ); ?>" id="content" tabindex="-1">
<div class="row">
<div class="col-md-12 content-area" id="primary">
<main class="site-main" id="main">
<section class="error-404 not-found">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'understrap' ); ?></h1>
</header><!-- .page-header -->
<div class="page-content">
<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try a search?', 'understrap' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .page-content -->
</section><!-- .error-404 -->
</main>
</div><!-- #primary -->
</div><!-- .row -->
</div><!-- #content -->
</div><!-- #error-404-wrapper -->
<?php
get_footer();
......@@ -14734,6 +14734,21 @@ input[type=checkbox] {
align-content: center;
}
.error-404 {
min-height: 60vh;
margin-top: 60px;
}
.error-404 .page-title {
color: #0484B8;
margin-bottom: 40px;
}
.error-404 .page-content {
margin-bottom: 40px;
}
.error-404 .search-form {
margin-bottom: 40px;
}
.pre-header {
background-color: #0484b8;
color: #fff;
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -22,11 +22,11 @@ function the_bread() {
foreach ( $flour as $crumb ) {
$slug = esc_html( $crumb );
$url = esc_url( $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/' . substr( implode( '/', $flour ), 0, strpos( implode( '/', $flour ), $crumb ) ) . $crumb. '/' );
if($crumb == 'courses'){
if($crumb == 'courses' ||empty($crumb)){
continue;
}
$url = esc_url( $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] . '/' . substr( implode( '/', $flour ), 0, strpos( implode( '/', $flour ), $crumb ) ) . $crumb. '/' );
array_push( $crumbs, ( object )
[
'slug' => $slug,
......
......@@ -256,5 +256,19 @@ margin: 40px 0px;
display: flex;
flex-wrap: wrap;
align-content: center;
}
.error-404{
min-height: 60vh;
margin-top: 60px;
.page-title{
color: #0484B8;
margin-bottom: 40px;
}
.page-content{
margin-bottom: 40px;
}
.search-form{
margin-bottom: 40px;
}
}
\ No newline at end of file
......
......@@ -5,7 +5,7 @@
Author: Tenzing Communications
Author URI: https://tenzingbrand.com
Template: understrap
Version: 1.1.0031
Version: 1.1.0032
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
......