diff --git a/includes/Patterns.php b/includes/Patterns.php index 653195e..ba53de5 100644 --- a/includes/Patterns.php +++ b/includes/Patterns.php @@ -1,6 +1,7 @@ SiteGenService::get_dummy_navigation_menu_items(), + 'wp-setup' => $default_items, + 'ecommerce' => $default_items, + ); + + $current_flow = Data::current_flow(); + return ! empty( $flow_to_dummy_items[ $current_flow ] ) ? $flow_to_dummy_items[ $current_flow ] : $default_items; } /** @@ -357,7 +367,7 @@ private static function replace_split_menu_items( $pattern_content ) { $dummy_menu_grammar = ''; $menu_navigation_grammar = ''; - foreach ( self::get_dummy_menu_items() as $item ) { + foreach ( self::get_dummy_navigation_menu_items() as $item ) { $dummy_menu_grammar = '