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.

I'd like to get the term value of a custom taxonomy attached to a post inside the wp-admin area, specially on the post edit page. Only one term value can be (is) selected for that specific taxonomy.

I've tried the following functions without success:

http://codex.wordpress.org/Function_Reference/wp_get_post_terms http://codex.wordpress.org/Function_Reference/get_the_terms

I'm getting only errors or empty arrays.

I know this must be tackled as outside the loop, but I'm stucked right now.

share|improve this question
    
So you want to add a meta box to the edit screen with the selected terms of your taxonomy? –  Sven Nov 20 '13 at 20:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.