Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

is there any chance of getting post meta data while editing post in wp-admin? For example -

$price = get_post_meta($post->ID, 'price', true);

isn't working, and it won't return post meta data, while editing post. I tried entering value and saving everything, but still it returned nothing.

share|improve this question

closed as not a real question by toscho Jul 22 '12 at 22:48

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Where do you have this code at? This is a really non-descriptive question. –  Kevin Langley Jr. Nov 8 '11 at 19:06
1  
Is this in a custom meta box? If the data is there and the meta key doesn't start with _ it will show up as a custom field. –  Chris_O Nov 9 '11 at 18:31

Browse other questions tagged or ask your own question.