This is very helpful, but I’ve got a questio expanding on it. When viewing a single post, I’d like to be able to display anywhere on the page something like:
“You are reading post X of Y total posts in this category”
The code you’ve written above should help me substitute the total number of posts for the “Y” above (thanks!), but how can I get the “X” to display the number of the current post you’re reading?
Thanks for any ideas you have.