Find number of post (not ID, but order number) in a category (1 post)

  1. frankiejr
    Posted 6 years ago #

    Let's say I have a category called "Lamps" that has thirteen posts in it. I want to have a paged navigation for *just* that category that says something like this:

    Post 2 of 13 in the category Lamp

    I figured out how to get the number of posts in a category using get_the_category. Now I just need to figure out how to get the number of the post I'm on (not the post ID).

    Any ideas?

    (The title is probably a bit confusing so if you're reading this, thank you for trying to help!)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.