Enables existing WordPress functionality to allow page breaks in your posts and pages.
If you can't see any pagination tools at the end of your post then it's likely that your theme was not made to accomodate this feature. The fix is easy, add the following code to your single.php file inside your theme:
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'adjustly' ), 'after' => '</div>' ) ); ?>
Add this code just prior to the comments_template() code or move it around to see where it suits you best. You may want to add the name of your theme to the code (remove "adjustly" and put your theme name in its place).
You will aslo have to add the above code to page.php as well (code is identical).
Requires: 3.3 or higher
Compatible up to: 3.3.2
Last Updated: 5 years ago
Active Installs: 1,000+
Got something to say? Need help?