diff --git a/src/functions/breadcrumb.php b/src/functions/breadcrumb.php index 637ac0f..03cdec8 100644 --- a/src/functions/breadcrumb.php +++ b/src/functions/breadcrumb.php @@ -4,6 +4,7 @@ * Display parent and current page **/ function tainacan_interface_the_breadcrumb() { + ob_start(); $showOnHome = 0; // 1 - show breadcrumbs on the homepage, 0 - don't show $delimiter = '>'; // delimiter between crumbs $home = __('Home', 'tainacan-interface'); // text for the 'Home' link @@ -183,4 +184,6 @@ function tainacan_interface_the_breadcrumb() { echo ''; } + $content_breadcrumb = ob_get_clean(); + return $content_breadcrumb; } // end tainacan_interface_the_breadcrumb() diff --git a/src/header.php b/src/header.php index a909ea2..4303474 100644 --- a/src/header.php +++ b/src/header.php @@ -24,7 +24,7 @@ style="min-height: px;" class="navbar navbar-expand-md navbar-light bg-white menu-shadow px-0 navbar--border-bottom ">
- + @@ -73,5 +73,5 @@ - + \ No newline at end of file