Results 1 to 1 of 1

Thread: Pagination support for single posts and pages

  1. #1
    Expired Customer gonesmith's Avatar
    Join Date
    Jun 2012
    Posts
    764
    Thanks
    50
    Thanked 202 Times in 137 Posts

    Pagination support for single posts and pages

    I've just submitted this idea in the ideas exchange but in the meantime if anybody is interested;

    If you have pages or posts will a lot of content in them, rather than separating them into separate pages/posts, if you put this; <?php wp_link_pages(); ?>, in your pages.php and single.php, just below <?php the_content(); ?> like so;
    Code:
    			<?php appthemes_before_page_content(); ?>
    
    			<?php the_content(); ?>
    			<?php wp_link_pages(); ?>
    
    			<?php appthemes_after_page_content(); ?>
    then you can split individual posts/pages into several separate pages by using this <!--nextpage--> when editing the post/page. Just put that wherever you want the page to break and link to the next section.

    See; http://codex.wordpress.org/Function_.../wp_link_pages for more options.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [TUTORIAL] A MOD for Previous and Next Navigation for Single ADS Pages -- single-default.php
    By vienna in forum ClassiPress General Discussion
    Replies: 13
    Last Post: October 1st, 2013, 01:03 AM
  2. Can't put links in pages/posts and invisible text on pages/posts
    By consignor in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: September 24th, 2012, 08:21 PM
  3. How to show all pages in pagination?
    By maorlast in forum Report JobRoller Bugs
    Replies: 2
    Last Post: May 24th, 2011, 05:11 AM
  4. [SOLVED] number of pages in pagination
    By tempoblog in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: August 30th, 2010, 07:18 PM