$wp_query->current_post
holds information about current post in loop, not global set of posts. Numering posts across multiple pages is not available natively (as far as I know) and probably would be to unreliable (for example what if number of posts per page changes is customized to be uneven?).
For specific implementation building custom numbering, based on page number is probably indeed only option.
As for stickies you can retrieve their count with something like count( get_option('sticky_posts') )
and adjust your numbering by that.
Related Posts:
- get_query_var( ‘paged’ ) not working outside of homepage
- Get the number of posts from the current page results
- Why does pagination always break when used on any form of a home page?
- ‘paged’ in wp_query doesn’t work
- Using next/previous_posts_link with customised search
- Merged two WP_Queries, posts per page and pagination not working
- Using $paged redirects /page/2 to page 1
- Masonry, WP_Query & paged – first page repeating, second page not loading
- “paged” in WP_Query returns 0 posts
- Pagination on template page for custom query redirecting to index.php
- WP_Query orderby random do not repeat infinite scroll – one loop
- filter posts by meta key with pagination
- Having a variable based on $post_count increase when i move to the next page of results
- Next / previous posts link doesn’t show up with Posts 2 Posts
- Why won’t my paged wp_query work? [duplicate]
- Pagination not working in secondary query
- How to print the excuted sql right after its execution
- Find out total number of pages in global query on archive page?
- Resetting post data to previous loop in nested loops
- Is it possible to completely stop WP_Query retrieving posts?
- Pagination returns 404 after page 20
- Make a WP Query search match exactly the search term
- Make loop display posts by alphabetical order
- Displaying several specific pages using WP_Query()
- Orderby menu_order doesn’t work
- WP_Query by Category Name
- WP-CLI How to generate a list of posts with corresponding meta values
- Query to return maximum of one post per author
- Warning: urlencode() expects parameter 1 to be string, array given
- How to get the posts published in last two days using WP_Query?
- All sticky posts are returned in custom query
- Get attached media only
- 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?
- Can not switch the queried post in pre_get_posts hook
- How to wp_query posts with ajax
- post thumb nail
- Filter by title content and meta key at the same time
- Get all remaining posts after a particular post id
- What is considered a default query for the request filter?
- How to find exact match for search term in WP_Query? What is the additional string added in LIKE query in WP_Query?
- Improve wp query perfomance on large db
- If two first numbers exist in wp_meta_query value
- Two different conditions with a single WP_Query
- How to query for posts without a post_format
- Tax query clause inside a meta query clause?
- Function get_queried_object() return NULL in custom taxonomy
- Search pages that are a child of the current page
- Change query_posts to WP_Query in page but does not work
- Modify WP Query post__in before have_posts()
- WordPress search posts by author name with autocomplete
- Can we return all category (not post) with Custom Query Filter? [closed]
- WP Query using tax_query & meta_query
- WP_Query – Exclude Posts
- How to control a common terms list from one place?
- Exclude Category filter from Portfolio section
- Search form not working with custom query?
- date_query seems to be ignored by wp_query
- Query Vars Not Set in Main Query
- Is it possible to query from external database? [duplicate]
- WP_Query freezing
- Order post type by sum of two custom fields
- 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?
- Order WP_Query results by meta key value in custom query
- Need help understanding this WP Query [closed]
- Display recent posts on another site
- WP_Query for products always returns empty
- Ordering posts by custom field and grouped by month
- Issue with data array format
- Multi-layered WP_Query
- `offset` WP_Query argument dont work via `pre_get_posts`
- Function the_posts_pagination() not compatible with WP_Query arguments
- WP_Query custom post with by general tags
- Why are my wp_query args being ignored if post_type = CPT
- Woocommerce Get Orders By Meta Value
- WP_User_Query Orderby Not Working
- WordPress post_status and meta_query
- WordPress Query optimaization for slow query
- WordPress – just refresh blog archive by new query
- how to move a page from one drop down menu to another drop down menu
- How to pass a php variable to js within a template?
- Meta query doesn’t remove placeholder escape before query
- Multiple values in WP_Query : category__and
- Custom query: post__in parameter causes query to be empty
- Custom query return
- Show subscriber id in loop
- 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
- How to organize a WP_Query’s list of posts by category and display category title?
- How to Query Updated Post in WordPress
- wordpress nested loop
- Query_vars not working for me
- Query posts only shows 1
- First post outside of loop, homepage only?
- Filtering product search results using tags
- AJAX multiple search boxes not merging with array merge
- Display Featured image from custom post type category (custom taxonomy) wise