Skip to content

Commit 541e0ee

Browse files
committed
feat (header): add get template part breacrumb
1 parent 7dffb86 commit 541e0ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

header.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ function replaceHtmlClass(regexp, str) {
3232
get_template_part( 'components/parts/common/header' );
3333
?>
3434
<main id="content" role="main" tabindex="-1" aria-label="<?php esc_attr_e( 'Main content', 'beapi-frontend-framework' ); ?>">
35+
<?php
36+
if ( ! is_front_page() && ! is_search() ) {
37+
get_template_part( 'components/parts/common/breadcrumb' );
38+
}

0 commit comments

Comments
 (0)