Your question is focusing on the wrong thing. A metabox is just one way for a user to introduce some data. The more important question is how you should store that data in the database.
You could make ‘sport’ a custom post type and connect it to models using the Posts 2 Posts plugin. Then, for each connection, you can associate a ‘rank’ custom field:
https://github.com/scribu/wp-posts-to-posts/wiki/Connection-information
The plugin takes care of creating a metabox and of storing the values in an efficient manner.
Related Posts:
- How to force one column layout on custom post type edit page?
- Add comments meta fields to comments metabox on post edit screen
- How to add a select menu to this metabox code?
- Having trouble with custom post type / meta box
- Dynamically add / duplicate custom meta in custom post types
- How can I create a custom meta box to add an mp4 video to a page?
- Cannot save CPT meta box
- How to insert data into meta box from another plugin?
- CMB select with data from CPT
- Placing Admin Post Metaboxes in Tabs
- Custom metabox value not saving
- Problems with a custom meta_box
- Custom Taxonomy as checkbox or dropdown
- WordPress Custom Post Types with a page as a parent?
- WP_List_Table Inside Metabox Not Working on Submit
- wp_generate_attachment_metadata gives me an empty array
- Best way to arrange custom post types by Attributes -> Order metabox value?
- Delete all the custom post types when deleting user
- Correct way to use a form to to filter custom posts by taxonomy terms?
- Showing current taxonomy terms
- Removing Edit Permalink/View “Custom Post Type” areas
- Unable to save custom taxonomy terms in a custom-built metabox
- White screen error for a custom theme
- How to sort CPT by custom meta value (date), and return posts month by month
- How can I remove categories in menu in custom post type?
- Search results ordered by custom post types are not grouped
- Possible to add meta box to edit.php pages?
- How can I include meta box content when searching?
- Remove POST_TYPE from custom post type permalink
- Get all posts WHERE custom_field is LIKE value
- How can I display my custom metaboxes on a custom post template?
- How does the $post_type global variable work?
- Custom Post Type with metaboxes (no content) only?
- Delete link on single-custom.php with redirection
- Getting rid of /my_custom_post_type/ in the single view URL
- Custom Post Type – List all attachments on Edit Screen
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Custom Page that comes with preloaded content for the user
- How to customize a permalink (URL) structure?
- will post_id ever change? Can I safely use post_id for custom queries?
- Time based access control of custom post types – what is good approach?
- Show titles, date of all posts on single category page
- Grouping metadatas into one
- Anon function and add_meta_box
- A form that can save/edit after first input
- Can custom fields be added without a meta box?
- Meta Box on Custom Post Type not saving
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- Custom URL redirect in WP
- Display Repeatable Meta Box Content
- Saving Meta Data within Custom Post Type
- attach CPT data to a taxonomy
- Values from meta-box not on $_POST
- Get id from metabox dropdown
- Creating a non-hierarchical Taxonomy that behaves like categories
- Separate Content from gallery (custom post type)
- Custom posttype content metabox
- Custom Post type content within a slider
- Reusable metabox backend and frontend
- Displaying a custom post type using get_template_part into a specific layout
- How can I output WPAlchemy repeating fields meta values in my page template?
- Displaying a list of Contacts
- Meta box data not saving
- WordPress as a frontend website for iOS app [closed]
- How can I make custom static widgets/areas on my homepage?
- Displaying One Custom Post Type’s Content On Single Post of Another Custom Post Type
- Questions regarding add_meta_box()
- custom comment fields on CPT
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- Add Class After 4th Post
- Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate [closed]
- Metaboxes inside Tab
- Setting Parent Page to Post
- Question about link two types of data in wordpress
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- Search for custom field input of a custom post type in ajax live search
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- Custom Post Type and Structure Question
- Show a custom post title in another custom post type in Meta box
- Modify Publish Metabox location on CPT
- PHP Warning with Custom Fields
- pricefilter without WooCommerce
- Convert attribute woocommerce terms (taxonomy terms) in posts of custom post type
- Update/publish custom post type with jQuery?
- Is there a best practice, or typical way to do AJAX updating for data on a custom admin screen or post.php?
- Wrong post ID in meta box callback
- Link two different post using there post_id in post meta
- How to shows CPT which has specific meta key?
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- Delete custom post type metadata without deleting the post in admin area
- Metabox is not saving
- Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update
- Add category slug as class attribute in a link array
- Delete attachment with post
- Get link for feed of specific post type AND taxonomy
- How to query custom post then display sections by meta value
- Display div based on Group metabox selection [closed]
- Multiple posts selection [closed]
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- is therer any wordpress function to retrieve a specific html element from post content