Skip to content

Commit

Permalink
Merge pull request #4272 from piit79/fix-breadcrumb-navxt-integration
Browse files Browse the repository at this point in the history
Fix Breadcrumb NavXT breadcrumb rendering
  • Loading branch information
selul authored Jul 31, 2024
2 parents 77e269d + fad0db6 commit 4bba50c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions inc/views/breadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@ public static function maybe_render_seo_breadcrumbs( $html_tag, $check = false )
}
}

// Breadcrumb NavXT breadcrumbs
if ( function_exists( 'bcn_display' ) ) {
echo '<small class="neve-breadcrumbs-wrapper">';
bcn_display();
echo '</small>';

return true;
}

return false;
}

Expand Down

0 comments on commit 4bba50c

Please sign in to comment.