Fetching Posts by Category in WordPress with jQuery and pagination

Discussion in 'WordPress' started by dados, Feb 19, 2013.

  1. #1
    I use this function Fetching post to create Fetching Posts by Category with jQuery , but the problem is that I need pagination. For example, I have in some categories more than 10 posts. The first 6 posts show up okay, but I need pagination to show the rest.

    You can see how it works now on my site: http://sentisoft.com/bwb/

    By the way, for pagination I use code from plugin named WP-PageNavi:

    <div class="navigation">
    <?php
    include('includes/wp-pagenavi.php');
    if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
    ?>
    </div>
    PHP:
     
    dados, Feb 19, 2013 IP