Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix How to add pagination?

Discussion in 'Misc WordPress Requests' started by Divvy, Mar 22, 2018.

  1. Divvy

    Guest

    How to add pagination?, by Divvy

    Hello,

    I’m having some issues adding a pagination in a page.
    Can someone help me?

    I want to use this plugin to insert pagination with the following code:

    <?php wp_pagenavi(); ?>

    When I add this code, the pagination doesn’t appear.

    The only pagination code I can make to work:

    <?php
    next_posts_link( 'Older Entries', $loop->max_num_pages );
    previous_posts_link( ' - Newer Entries' );
    ?>

    But it’s very ugly and I need to replace with the above one.

    What could be?

    My code: https://paste2.org/CpmZDs8x

    Thanks in advance!

    How to add pagination?
     
    #1

Share This Page

Monarch Social Sharing Plugin