You can do a multipage post by using the <!--nextpage-->
inside the post. The question is:
How can I display the whole post (not paged) for this post.
You can do a multipage post by using the <!--nextpage-->
inside the post. The question is:
How can I display the whole post (not paged) for this post.
You must be logged in to post a comment.
Well, you can turn it off completely or use the following code along with some sort of conditional statement to switch it on or off.
The multipage part is set up in the
setup_postdata()
function inwp-includes/query.php
. There’s an action at the end of the function calledthe_post
.If you hook onto that and then modify the globals that are set up in the function you can undo the multipage config:
Add that to your functions.php or plugin and you’re good to go.