how to get post data in wordpress code example Example: wordpress print post data echo '<pre>'; print_r(get_post_custom($post_id)); echo '</pre>';