[Wordpress] How do I return values from custom created meta box?
- by Steven
I've just followed this example from Wordpress and I have successfully added an extra Meta Box in Post interface, and the value is stored in DB.
Now my question is, how can I retrieve and display the content of this meta box?
I'm trying the following code:
$intro = get_post_meta($post->ID, 'post_intro', true);
echo $intro;
But I get nada. What am I doing wrong?
And while I'm here, does anybody know if I can place this extra meta box above the default text box in Wordpress post page?