• Hello guys,

    I’m developing a WordPress theme and I have one question related to the coding standards. I want to display the content of the subpages (if any) in page.php, for example, let’s say I have one parent page and few subpages:
    – PARENT
    — Subpage 1
    — Subpage 2
    — Subpage 3

    and when visiting the parent page I want to display the content of the subpages, also.

    Is it against the WordPress Coding Standards if I loop through subpage’s content when I’m on the parent page? Thanks in advance.

    Cheers

  • The topic ‘Displaying subpages content in page.php (WP Standrads)’ is closed to new replies.