Hot answers tagged forms
This can be approached by using wp_dropdown_pages() with the child_of parameter. global $post; $args = array( 'child_of' => $post->ID ); wp_dropdown_pages( $args ); The variable name will be $_GET['post_id'] or $_POST['post_id'], depending on your form settings, you can change the name by altering the name parameter. The value of the ...
Only top voted, non community-wiki answers of a minimum length are eligible