Skip to content

Commit 351d0ed

Browse files
authored
Merge pull request #411 from BeAPI/fix/breadcrumb
Fix breadcrumb, no display on 404 page
2 parents 248b400 + 95ef5fb commit 351d0ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ function replaceHtmlClass(regexp, str) {
7878
</header>
7979
<main id="content" role="main" tabindex="-1" aria-label="<?php esc_attr_e( 'Main content', 'beapi-frontend-framework' ); ?>">
8080
<?php
81-
if ( ! is_front_page() && ! is_search() ) {
81+
if ( ! is_front_page() && ! is_search() && ! is_404() ) {
8282
get_template_part( 'components/parts/common/breadcrumb' );
8383
}

0 commit comments

Comments
 (0)