The one persistent numerical thing about post is ID, however it is sequential for all posts, so you will have gaps if using it.
It would be easiest to assign a number and store it in custom field on post creation. Probably take it from an option and increment it there, so that your numbering doesn’t shift if you delete a post and such.
Related Posts:
- Return only Count from a wp_query request?
- Count the number of images uploded on the website
- count posts from custom taxonomy terms by year
- How to use global post counter in the loop?
- Count total number of post in foreach loop
- Fastest way of counting posts of a custom post type in a specific taxonomy term?
- How to use wp_query to post count by search term > group post count by date > convert to json. (ex. result 12-21-2020 – 343)
- How to count posts with specific arguments
- 2 queries with counters
- Having a variable based on $post_count increase when i move to the next page of results
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- Counting instances of words in the results of a post query
- Query posts by post type, author and post meta
- order posts by a secondary query that counts items
- Pull posts from all categories if quantity is not met?
- counting post from a wp-query using sticky_post
- Display Count of posts
- How to get an array of post data from wp_query result?
- How to only display posts whose meta_value field is not empty?
- How to print the excuted sql right after its execution
- How to add taxonomy filter on the query fly?
- Pagination returns 404 after page 20
- WP_Query min and max values
- post_type is ignored by WP_Query when ‘tag’ argument is included
- How to query posts of standard post format. For real
- Orderby menu_order doesn’t work
- WP_Query by Category Name
- WP_Query OR clause for tax_query and keywords
- Transient pagination not working properly
- query posts in functions.php and update a field
- get_posts() seemingly ignoring post_type
- If orderby parameter using pre_get_posts is the same for multiple posts what fallback does the query use?
- Which filter/action hook gets triggered after a query has been performed?
- Why use JSON API to display recent posts?
- Why query_vars get altered in WP_Query Object?
- pre_get_posts filter meta_query without conflicting existing meta_query
- Minimising Database Queries when using Advanced Custom Fields
- Get data of all posts of a query before pagination
- WP Pagination on Posts Search Results Page resulting from AJAX WP Query
- How to avoid wp_query returning the same post I’m on in results?
- Custom query for sidebar isn’t returning results
- How to vary post loop results layout and resume?
- Optional Meta Query
- Set conditional on template based on referring page slug
- Multiple If Else with WP Query in WordPress
- Serve specific “template” page at any URL that ends in its slug
- WordPress pagination not working using WP_Query
- Meta_query on same meta key, with diffrenct values
- Can we return all category (not post) with Custom Query Filter? [closed]
- posts_per_page not working for first page of pagination
- WP_Query – Exclude Posts
- Add class to first post in custom loop using post_class filter
- echo a specific meta_key queried through a custom post
- WP_Query with meta_query dosen’t return results
- Get latest post revision with wp-query
- date_query seems to be ignored by wp_query
- How to show more post at a given category?
- Merge two search functions for custom post type
- Filter Custom Taxonomy Posts
- Config.php issue in WordPress
- Is it possible to query from external database? [duplicate]
- Trying to retrieve random post, getting a page
- WP_Query freezing
- WP_Query to output chosen term and posts with no term assigned
- Need to add onclick javascript at backend of my wordpress site
- How do you determine if a result in a search query is a post or a page?
- WP_Query by keyword OR post tag
- query_vars empty when using custom url with custom rewrite rule
- Display recent posts on another site
- WP_Query for products always returns empty
- Post archive for certain post format
- Issue with data array format
- Add AJAX “Load more” on custom query block
- Why my query is not “Main_query”?
- Filter sub-category from checkbox form
- Meta Box WP_Query array for showing items with a certain relationship
- Multi-layered WP_Query
- `offset` WP_Query argument dont work via `pre_get_posts`
- Function the_posts_pagination() not compatible with WP_Query arguments
- How to add a “base” filter for all posts visible to visitors on the site?
- Pagination of custom page with custom fields query
- WP_Query() not filtering posts for category
- WP_User_Query Orderby Not Working
- WordPress post_status and meta_query
- How to query wordpress with array of meta_values?
- Custom query: post__in parameter causes query to be empty
- Custom query return
- WP_Query: Meta_Query with serialized value (or a workaround)
- Query All Attachments and Order by Parent Publish Date
- WP_Query using meta_query with LIKE doesn’t return what it should
- Filter custom post type by custom taxomony
- Query post Pagination Problem
- How to organize a WP_Query’s list of posts by category and display category title?
- Pull Instagram images into an existing loop?
- Query_vars not working for me
- Pagination showing same posts despite changing page
- Query custom post types by meta field in a term from custom taxonomy
- Filtering product search results using tags
- Get posts using multiple values from ACF checkbox as meta query wordpress
- Why ignore_sticky_posts argument is in sticky post query?