display variable wordpress code example Example: wordpress display all variables echo '<pre>'; print_r(get_post_custom($post_id)); echo '</pre>';