WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Displaying child pages of a parent page

[Resolved] Displaying child pages of a parent page

  • I’m wondering how I can display the child navigation of a parent page?

    My sitemap looks like this:

    About
    Courses
    – course a
    – course b
    Services
    Contact

    I want “course a” and “course b” titles to display as navigation under “Courses”.

    I tried to add <?php wp_list_pages('child_of=2&sort_column=post_title&title_li=') ?>

    But I can’t add php inside the page code

    thanks

  • The topic ‘[Resolved] Displaying child pages of a parent page’ is closed to new replies.