in the page content, while writing or editing your page, you can use
<!--nextpage-->
to make a page break;
http://codex.wordpress.org/Styling_Page-Links
make sure to have the corresponding code in page.php of your theme, to show the links.
Thread Starter
abc1me
(@abc1me)
Where in page.php editor do I paste this?
within the loop, possibly after the line with <?php the_content(); ?> – before the line with endwhile;
Thread Starter
abc1me
(@abc1me)
Hummm. I can’t get it to work it appears in the press as a —–page break
but placing the code in page.php doesn’t seem to enable anything?
Anymore ideas. I’ll keep foolin around with it.
Thread Starter
abc1me
(@abc1me)
<?php the_content(); ?>
<div class="clear"></div>
<?php edit_post_link('[edit page]', '<p>', '</p>'); ?>
</div>
<?php endwhile; ?>
just checking:
you are talking about a static page?
where you add text sections (testimonials) and where you want to have a break after 5 testimonials, by entering <!--nextpage--> ?
this should work:
<?php the_content(); ?>
<?php wp_link_pages(); ?>
<div class="clear"></div>
<?php edit_post_link('[edit page]', '<p>', '</p>'); ?>
</div>
<?php endwhile; ?>
a link to your site, pointing to the page with the testimonials, might help to illustrate the issue.
Thread Starter
abc1me
(@abc1me)
I found the correct code to place in page.php it’s. I should learn to read on for myself . Thanks Alchymyth..
<?php wp_link_pages(); ?>
well done – ignore my last reply 😉
if this is all sorted, please mark this thread as ‘resolved’ – thanks