So I am looking to fetch child page of current node for eg
Birds
- Great Blue Heron
- Wood Duck
- Willet
Fish
- Bass
- Catfish
- Tilapia
When I am on Bird page I would like to show - Great Blue Heron - Wood Duck - Willet
When I am Willet as Willet have no child pages it should show parent page and if do have child pages it should show its child pages
Is it possible to do it automatically like Admin creates a page he doesnt need to go to menu and add it himself to the menu , I tried https://www.drupal.org/project/menu_block seems like there are 2 steps involved
- Create Page
- Than Add to Menu
I want to get Node id and automatically fetch its child and sub-child pages