I'm figuring out using wp_list_pages() if it's possible to check if the page where I'm at has a parent and childs.
I would like to make something that when it has a parent and childs that it only shows the childpages using wp_list_pages.
Another example that I was trying to find is in this case that if the page does not have a child that the wp_list_pages only shows the parent of the page.
So, I'm actually trying to find two if statements where I couldn't get them working.
Should this be possible ?