Let’s say I have a post that has been paginated by adding the
<!-- nextpage -->
code provided by wordpress for this purpose. How can I then query a specific page from inside of that post. Say for instance I only want to query the contents of page 2 and there are 10 posts. Is there a way to do it?
source
So you could do something like :
And then you can retrieve content of page 4 with :