I am attempting to display subpages on parent pages in my (thematic-based) child theme.
I have used the standard code before (illustrated here ), inserting it directly into a new page.php template.
However, now I'd like to insert the code using the functions.php file. However, it displays ALL pages instead of just SUBpages.
Here is the code in my functions.php file:
If anyone sees what's wrong here, I'd really appreciate it!!