Listing all sub-pages?

easy just pass it the $id off which to get the children

  global $id;
  wp_list_pages("title_li=&child_of=$id");

of if you want in the loop then

 wp_list_pages("title_li=&child_of=$post->ID");

Leave a Comment

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