How do I find the count of the current post?

Question
wp_count_posts('reviews')->publish;

let’s me know the total number of posts in that CPT (reviews),
but how do I know if the current post is fifth or sixth or nth post?

0
, , Ash 1 year 2020-07-17T01:11:32-05:00 0 Answers 59 views 0

Leave an answer

Browse
Browse