File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ if ( ! function_exists ( 'yoast_breadcrumb ' ) ) {
3
+ return ;
4
+ }
5
+ ?>
6
+
7
+ <nav class="breadcrumb" role="navigation" aria-label="<?php echo esc_attr ( 'Breadcrumb ' , 'beapi-frontend-framework ' ); ?> ">
8
+ <div class="container">
9
+ <?php yoast_breadcrumb ( '<div class="breadcrumb__inner"> ' , '</div> ' ); ?>
10
+ </div>
11
+ </nav>
Original file line number Diff line number Diff line change @@ -32,3 +32,7 @@ function replaceHtmlClass(regexp, str) {
32
32
get_template_part ( 'components/parts/common/header ' );
33
33
?>
34
34
<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
+ }
You can’t perform that action at this time.
0 commit comments