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?
The page break does not function
5 posts from 3 voices-
Posted 7 months ago #
-
Hi,
You may have to modify the theme structure for the theme and add wp_link_pages on the loop.
http://codex.wordpress.org/Styling_Page-LinksRegards,
IsmaelPosted 7 months ago # -
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.
AydinPosted 7 months ago # -
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!
Posted 7 months ago # -
Hi!
Glad that you solved the issue. I'll ask Kriesi to add this feature to his themes.
Regards,
PeterPosted 7 months ago #
Topic Closed
This topic has been closed to new replies.














