Getting the total number of pages IN a post in WordPress

I know I had another thread going recently, but I’ve decided to change the question, and to start a question with all the clarifications included.

How do I get the total number of pages in a post? Example of what I mean by post:

A new post about cooking recipe: Chicken soup recipe

Page 1/4: Ingredients
Page 2/4: Preparation
Page 3/4: Cooking
Page 4/4: Serving

I want the number “4″ (total number of pages in the post) returned in any of the pages.

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.