Get post info and post meta
<?php // Print all post info and post meta $post_id = '101'; echo '<pre>'; print_r(get_post( $post_id )); echo '<br>'; print_r(get_post_meta( $post_id )); echo '</pre>';