Wordpress Multiple pages in Single Post Problem

Discussion in 'WordPress' started by PankajKumar, Dec 24, 2009.

  1. #1
    Hello Friends,

    Some of my posts went so long that the page takes so much time to load. So I am using <!--nextpage--> tag to divide them into several pages and its working fine as expected. The only problem I am facing is that I am using YARRP Plugin and few other plugins on my post and the page numbers link is coming after them, so its not clearly visible to a simple reader as he might get confused as there is only one page. Please see my post for clear understanding http://www.mygadgetplanet.com/2009/12/nokia-n900-specifications-review-and-price-details/

    I want to move the page numbers before those plugins so that user can see clearly that there are some more pages. I am not able to find anything for that. Pls help me out.
     
    PankajKumar, Dec 24, 2009 IP
  2. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    first of all you don't need to use any plugin for this purpose , just add this code

    <?php wp_link_pages(); ?>
    Code (markup):
    in single.php and the pages will be shown automatically
     
    Wp-Mod.Com, Dec 24, 2009 IP
  3. PankajKumar

    PankajKumar Active Member

    Messages:
    431
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Thats what I am saying. This code is present in my Single.php file but the problem is that other plugins data is coming between the post pages part and the next page link that u can see on my link given above. I just want that those plugins data to come after the page links but thats not happening
     
    PankajKumar, Dec 24, 2009 IP
  4. PankajKumar

    PankajKumar Active Member

    Messages:
    431
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    #4
    Oh finally I solved the problem. Now I am displaying page numbers just after my title and before the content and its looking fine now. Thanks guys for helping out.
     
    PankajKumar, Dec 24, 2009 IP