Good day, everyone!
I cannot guess how to get around this, so need help badly..
The thing is: I cannot find a way of counting a post subpages (made by <–nextpage–> tag manually or via a pagination plugin) when showing a list of posts’ excerpts in “index.php”.
In single.php it was simple: just “<?php global $numpages; echo $numpages; ?>” and it worked!
index.php shows solely ‘1’ and no more than this…
Help, please – my blog’s gonna consist of quite a portion of long posts and it’s badly needed to display an overal post pages count in index.php
- The topic ‘Count pages in a post in index.php’ is closed to new replies.