diff --git a/templates/global/breadcrumb.php b/templates/global/breadcrumb.php index 4a5cfed0e14..2dfc819332a 100644 --- a/templates/global/breadcrumb.php +++ b/templates/global/breadcrumb.php @@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) { exit; } -if ( $breadcrumb ) { +if ( ! empty( $breadcrumb ) ) { echo $wrap_before; @@ -36,4 +36,4 @@ if ( $breadcrumb ) { echo $wrap_after; -} \ No newline at end of file +}