How to display a certain subpage of a page?
-
Hi guys,
I have a page acting as the front page of a blog where I’ve split the content into two parts with the <!–nextpage–> quicktag. My idea is to show the first subpage in one part of the page and the other in another part, but I don’t know how to display “page two” in the page’s content.
The following code works for the first part, but how should I change it for displaying the second subpage?
<?php if(have_posts()): ?> <?php while(have_posts()): the_post(); ?> <?php the_content(); ?> <?php endwhile; endif; ?>
Must be something really simple, but I was unable to find the answer after hours of searching.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to display a certain subpage of a page?’ is closed to new replies.