I am essentially working on a custom post type (for events) and need to properly save category info *without* using the default category widget.
instead of the select boxes and allowing the backend user to choose however many categories they want, i want a dropdown box that only allows them to select ONE category from a restricted set of categories.
so far i’ve been trying to implement the “wp_dropdown_categories” function and have been able to grab the proper categories i want and display them in my event custom post type edit page but i have no idea how to actually SAVE the post with the selected category.
any code snippets/help would be greatly appreciated!
- The topic ‘saving category info without using the built-in category admin widget?’ is closed to new replies.