I want to create another input field like the categories. Whenever user posts a new question I want to have another drop down of locations associated with that particular question, like categories drop down in the the 'Submit Question' form. And how I can add a UI for managing it in the admin section like the one there exists for categories in Questions?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
If you want to add extra fields to a post in the admin area, use the Advanced Custom Fields plugin. It is pretty good and has a lot of options. |
|||
|
|

echo get_the_terms( get_the_ID(), 'location' ) );will list the locations for a post in your theme. – toscho♦ Jan 2 at 8:55