How to add pagination for my blog? Please help!

Discussion in 'WordPress' started by Branko Zecevic, Aug 28, 2013.

  1. #1
    For some reason 'WordPress Page Navi' plugin doesn't work for my site.
    Can someone help me to configure page navigation on my site in any other way?
    Like adding code in WordPress editor!

    Thank you for your help!
     
    Branko Zecevic, Aug 28, 2013 IP
  2. Devtard

    Devtard Notable Member

    Messages:
    850
    Likes Received:
    133
    Best Answers:
    4
    Trophy Points:
    220
    #2
    What exactly doesn't work? You have to replace the next/previous links with <?php wp_pagenavi(); ?> in your index.php template, have you tried that?
     
    Devtard, Aug 28, 2013 IP
  3. Branko Zecevic

    Branko Zecevic Active Member

    Messages:
    147
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    53
    #3
    I'm using a WordPress Infinity theme and I followed your advice to go to index.php
    but I can't identify next/previous links code there.

    I also checked this link http://wordpress.org/plugins/wp-pagenavi/installation/,
    but I didn't find the code they suggest to change, because that example is for Twentyten theme.

    Can I just add your code at the end of my index.php? Will this work?
    Is it wise to copy the hole index.php code and paste here for you to check?
    (in terms of security of my site)
     
    Branko Zecevic, Aug 28, 2013 IP
  4. Branko Zecevic

    Branko Zecevic Active Member

    Messages:
    147
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    53
    #4
    @Devtard I went to my theme settings and configured numeric navigation there.
    It seems that for this theme you don't need to add code to index.php!
    Everything is fine now!

    In any way thank you very much for your assistance! :)
     
    Branko Zecevic, Aug 28, 2013 IP