I have added the code-change and have raised MR. Till it gets merged, uploading the patch file for use.
vyasdhruv โ made their first commit to this issueโs fork.
vyasdhruv โ created an issue.
You can create a disabled sub-level menu for each page, under their respective category menu item.
In Admin > Structure > Menus > Main Navigation / Your Custom Menu, the hierarchy should look something like this.
Category A
- Page 1 (disable menu item)
- Page 2 (disable menu item)
- Page 3 (disable menu item)
Category B
- Page 4 (disable menu item)
- Page 5 (disable menu item)
- Page 6 (disable menu item)
Category C
- Page 7 (disable menu item)
- Page 8 (disable menu item)
- Page 9 (disable menu item)
I was able to achieve the same thing using this solution. Though I had only 6 pages for each category.