< ?php while ( have_posts() ) : the_post(); $text = get_post_meta( get_the_ID(), 'page_template_text', true ); $textarea = get_post_meta( get_the_ID(), 'page_template_textarea', true ); $checkbox = get_post_meta( get_the_ID(), 'page_template_chk', true ); $radio = get_post_meta( get_the_ID(), 'page_template_radio', true ); $select = get_post_meta( get_the_ID(), 'page_template_select', true ); echo "

Text Box: " . $text . ""; echo "

Text Area: " . $textarea . "

"; echo "

Checkbox: " . $checkbox . "

"; echo "

Radio Buttons: " . $radio . "

"; echo "

Dropdown: " . $select . "

"; echo "

Sitemap

"; echo "
    " . wp_list_pages( array( 'title_li' => '' ) ) . "
"; endwhile; // End of the loop. ?>