Thank you for the nice template, with which I am having the next problem. Whatever I do to break a long page into parts using the default <!–nextpage–> shortcut, I cannot see any links to the following pages. It does cut the page but the rest of it remaining empty without any links. This is a real problem with long pages. Any chances to have this sorted out?
You may have to modify the theme structure for the theme and add wp_link_pages on the loop.
Ismael, thank you very much for your quick reply. I am very new to WP, was using other products earlier. Nevertheless, should not this be a basic function in a template? e.g. Read More functions very nicely.
Could you be so nice and tell me which template in this case (sentence) I shall modify to add the “<?php wp_link_pages(); ?>”? In an earlier post for Habitat (http://www.kriesi.at/support/topic/nextpage-doesnt-work-on-preview#post-55082) it was mentioned that it is simple.php, and the correct location (after “the_content(‘<span>’.__(‘Read more’,’habitat’).’</span>’); ?>”) was mentioned, however, I could not find that line in this theme.
with many thanks.
I am answering myself in case if any body else is having a problem with this:
1) Fetch the file /includes/loop-page.php
2) Find the line: “the_content(__(‘Read more →’,’avia_framework’));”
3) Add “wp_link_pages();” (without quotes) to the following line, save and upload
4) In the text where you want the page to have a “page break” just enter <!–nextpage–>
That’s it. Still I think this should have been added to the original theme at the first place, though – could have saved me a few hours!
The topic ‘The page break does not function’ is closed to new replies.