Is it possible to echo at the end of a post which number the current post is?
For example;
Say you’re viewing the 4th most recent post out of a total of 10, somewhere at the foot of the post I need it to say “Post 4/10”…
Is that possible?
1 Answer
I would do this with $query->current_post
and $query->post_count
with $query = new WP_Query(args);
. With this you may get the position and the total of posts.