The easiest approach would be to use the Advanced Custom Fields plugin.
A quick example for your situation (this example assumes you have access to your theme files, and can update the PHP for output of the ‘Scores’ field):
- Install and activate the plugin
- Navigate to Custom Fields in the left-hand nav
- Create a new Field Group
- Create a ‘Scores’ text field
- Output the ‘Scores’ field in your page/post
- Use
WP_Query
to load and sort the posts by your new ‘Score’ field
Good luck!
Related Posts:
- Enable sticky posts to custom post_type
- How can I add a column/s to wp_posts table?
- How to hook get_terms() to only show count of posts that have custom meta
- add_meta_box: Datepicker like the one for postdate?
- Multiple information using custom post type
- Before Delete Post
- How to use custom fields to enable sticky posts on custom post types?
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Update Post Meta for a logged in user
- Two Custom Post Types Many to Many Relationship
- How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Modify Posts from Custom_Post_Type within the plugin
- Making a form for user to add new custom post with custom taxonomies and custom fields
- Front-end Image Upload to Custom Meta Box
- Checking for custom field in admin pages
- A sports wordpress website
- Display custom post front end filter by ACF equals current user
- How to display custom field in product description?
- Show posts from WP Custom Post Type selected from a field in a metabox
- WP_posts (Not meta) extra custom field column show and change it in a custom post type
- Calling specific page with wp query
- custom field suit new post with in custom fields
- Display code if title of the custom post matches title of other post
- Get the ID of the latest post
- Do_Shortcode not working for Embed
- Change permalinks for posts but not for custom post types
- Front end post editing using a form
- Display custom post type and custom fields within a Bootstrap Carousel
- how to filter by last name for custom post
- Search that will look in custom field, post title and post content
- clients list using wordpress
- Getting a div content of a post in wordpress?
- How to do a custom bookmarks post type?
- How do I add media to a custom post type?
- How can I add dropdown widget/box to admin post page?
- Custom permalinks – post type – hierarchical taxonomy’s
- Using new WP_Query in shortcode in a custom field causes the main post content to not display
- [Plugin: Posts 2 Posts] Changing display order of connections
- How do you use JavaScript to detect the homepage
- Custom field losing p tags on display
- Using posts and postmeta table to store custom Address Book Plugin data
- Query Custom Post Types by date (custom field) range
- CPT’s archive and single page not working [closed]
- apply filters only to specific post listing without check the url parameters
- query posts and custom post type with meta key
- Dynamically add / duplicate custom meta in custom post types
- Custom Post type and Custom Field WP_Query
- Adding Show Less/More link to Custom Post Meta
- Post image in WordPress not appearing on home page
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Tracking changes in admin-page so user gets warning when leaving the page
- custom post type category count shortcode
- How to Create a WordPress Plugin With Custom Post Type/Custom Field Features?
- First custom field value (out of several) displayed twice after query
- Multiple Frontend Filters Using Advanced Custom Fields
- Create new custom post and post category of same name
- Add custom attributes to a post
- Get post content from another section in custom single page
- How I can made a custom post type to page templates?
- Group by custom field value (start and end times)
- Variable Products as custom post types
- List all posts in taxonomy term
- Post/Custom Post Type URL Access
- updating one custom meta field only
- Confusion about how to use Custom Post Types, Custom Taxonomy or Category?
- Create list from custom field comma separated values
- Adding /blog in front of single posts (only)
- Having a repeating custom field in admin custom post type, what I’d go better with, for DB’s sake? ACF repeater or query a different post type?
- Create an user checklist system for a course plateform using ACF Pro and ACF Extended
- Post template with breadcrumb needs to show page navigated from
- WP_Query get always custom post_type for first
- add all blog posts to folder
- Post Click Redirect to Custom URL instead of Single Post Page
- wp_insert_post deleting previous post custom meta
- meta query multiple values for the same key
- Custom post types – meta_query: search lesson which starts sooner
- custom post type to post association in wordpress
- How to get all posts related to a taxonomy?
- Automatically convert standard posts with custom fields to custom post types
- Importing URLs of Audio Enclosures
- Custom Post Type
- Retrieving custom post type fields without a post
- Popup panel is only displaying 1 entry ignoring all others
- Custom Post Status & Taxonomies
- pre_get_posts with multiple post types AND a meta_key
- Search form to find custom meta box generated data
- Display Custom Post if custom field is marked
- predefined custom field on registration page
- Post being scheduled that shouldnt be schedulded
- Select Menu for Custom post Type does not save
- Allow authors to create article image
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Get custom post type parent category
- How to delete unnecessary custom post types in the UI
- Error 403 when posting comments to a custom post type from a different page
- Is it possible to specify a time interval (from, to) in ACF with date picker, or other custom field?
- Display ACF object field data using Elementor Custom Query
- Sortable admin columns ordering from custom fields isn’t combine com search and Dropdown filter
- Sort ACF by custom taxonomy