I'm wondering how to write a list of sub-pages of actually visited page.
So I have 2 pages and 3 sub-pages for each:
Colors [page]
- Red [child of Colors - subpage]
- Blue [child of Colors - subpage]
- Green [child of Colors - subpage]
Numbers [page]
- One [child of Numbers - subpage]
- Two [child of Numbers - subpage]
- Three [child of Numbers - subpage]
And when user visits "Colors" page then my code outputs Red/Blue/Green and if he does vist Numbers it shows One/Two/Three.
I'm sure wp_list_pages will do the thing easy, but I'm not sure about parameters.