diff --git a/view/common/wordpress-menu.phtml b/view/common/wordpress-menu.phtml index 248f45c..54ae007 100644 --- a/view/common/wordpress-menu.phtml +++ b/view/common/wordpress-menu.phtml @@ -54,6 +54,8 @@ function render_menu($items, $level_id) { echo '' . PHP_EOL; } -render_menu($items, 0); +if (count($items[0]) > 0) { + render_menu($items, 0); +} ?>