List child pages of a specific page

To list subpages of a particular page, use wp_list_pages with child_of argument.

$parent_page_id = 42;
wp_list_pages( array(
    'child_of' => $parent_page_id
) );

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)