I think you have the correct approach when you want to use a meta data value for it. I would do it the same way. I don’t quite know how downloads are arranged, but I think it shouldn’t be to hard to add an action which adds 1 to the count, after download.
A server overload is not really an issue unless you get 100’s of click in a short time.
Related Posts:
- Archive sorting functions by custom fields (front-end)
- Filter or order based on custom field
- Sort posts after filtering them through multiple taxonomies
- Add filter menu to admin list of posts (of custom type) to filter posts by custom field values
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Is there any action filter/hook for validating a custom field before publishing the post?
- Orderby meta_value only returns posts that have existing meta_key
- ORDER BY custom field value
- Filter WP_Query for posts having a certain meta-value
- Apply the_content filter to a custom field with multiple values
- Pass all custom fields through the same filter on post load?
- Auto sort the wp-admin post list by a meta key
- Filter results with custom field values and dropdown
- get_pages sort alphabetically by meta value
- Order by custom field date?
- Change content before writing to database
- WordPress Search Custom Meta Field Only
- How do I assign this filter to a variable? (Appending php & markup to the_content)
- Using custom fields in a filter hook
- How can I sort get_users() by any value (last_name, user defined fields and more)
- Add an advert every nth Paragraph
- Is it possible to order posts by two meta values?
- How to filter a dd/mm/yyyy date from a custom field in a query
- Sorting posts by multiple values, combined
- Sort by posts that have a featured image?
- Force hide custom field metaboxes
- Saving custom profile fields
- Update posts after populating ACF field value [closed]
- sort search results by custom fields using dropdown
- How to validate custom field on lost password form before the user id field?
- Sorting posts ordered by custom field value
- Sorting WordPress Posts via Custom Field Values?
- filtering custom post types via meta data drop down
- global function to apply filter to custom field
- How to order posts by one custom field and filter them by another one?
- Advanced search by two criteria – sort by location and date (ascending or descending)
- Change the sort order for posts to include custom field
- Filter multiple custom fields Values with Check boxes
- How to get categories with posts by custom field value?
- Sort custom post type by multiple custom fields
- Sort alphabetically by custom field
- Trying to sort and display categories(not posts) by custom field: ‘order’
- Sort WP_Query with numeric custom field
- How to Wrote Simple Calculations by Using Custom Fields in Loop?
- ORDER BY custom field value out of where clause
- wordpress custom loop ascending descending posts by custom field
- Best filter to use for modifying custom fields on a post?
- How to display childrens custom fields?
- Select custom posts by meta_value and sort by a different meta value
- Access ACF fields within custom preview function?
- change order of images attached to post
- How to use a dropdown to filter posts by custom field
- Let Users Filter Posts by Custom Fields
- How To Show Get Adjacent Posts If Posts Are Sorted By Custom Field
- Custom Theme Fields in Settings Menu – apply filters to one of those fields?
- Footnotes in custom fields
- How to change permalink on headlines in rss feeds?
- Listing the most popular 8 city (custom fields) as used in posts
- How to change order of posts in admin
- How to sort by custom field value?
- Custom Query Fields – Altering Meta Value
- How to order posts by number of Vimeo Likes
- How to query posts by month based on date custom field?
- Compare ACF date field (if exists) and post date and order DESC
- How to show ACF fields in Gridbuilder custom block
- WP meta_query args not working in function
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- User Filter Options on Archive Page
- Sort posts by custom fields with empty values
- How to add content with a filter when there’s no content in the editor
- Sort custom fields in admin by last field added
- change attachment custom field onChange event
- Filter and display a specific custom field value [closed]
- How to filter post using custom feild value in shortest and longest duration?
- Query Posts Via WordPress URL
- list pages by custom_field?
- Create widget that filters posts on current page based on entered value
- Retrieve IDs from custom field, count and display results differently according to count
- Including inline Custom Fields info with add_filter in functions.php
- Can’t sort custom column on user.php by number / meta_value_num?
- Order by a meta field in query loop
- Set new url from custom post field
- Can I count every article following extracted meta value?
- Sort posts by numeric value of custom field, and also show any other posts without that custom field
- Sort posts by numeric value of custom field, and also show any other posts without that custom field
- variable not passed correctly to database using custom field
- WordPress Blocks, setAttributes not saving
- Save Taxonomy of Post via custom Taxonomy Select Dropdown
- Using Customizer API vs Custom Meta Box for custom content
- non-unique #_ajax_nonce id in browser console
- Custom pages or Custom Posts
- get_avatar filter is not working as per requirement
- Ordering by ACF custom field vaule
- What WordPress “technology” would I use if I wanted subscribers to be able to mark pages with characteristics and notes?
- Sort by an ACF field in a tax_query
- How can I ‘check’ the “custom fields” box from the Screen Options?
- Filter posts by their related field’s custom field
- Post Click Redirect to Custom URL instead of Single Post Page
- search based on custom field
- Why isn’t update_post_meta saving?