Support » Plugins » Hacks » Can't get child pages to show up on parent when using functions.php

  • Hi there,

    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:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    If anyone sees what’s wrong here, I’d really appreciate it!!

Viewing 1 replies (of 1 total)
  • Sorry about that, I’ve never used pastebin before.
    Here is a link to the code (is this how it should be posted??)

Viewing 1 replies (of 1 total)
  • The topic ‘Can't get child pages to show up on parent when using functions.php’ is closed to new replies.