View Single Post
Old 02-20-2013, 06:57 AM   PM User | #1
dados
New to the CF scene

 
Join Date: Mar 2011
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
dados can only hope to improve
Fetching Posts by Category in WordPress with jQuery and pagination

I use this function http://goo.gl/Luxkx 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:

PHP Code:
<div class="navigation">
<?php
include('includes/wp-pagenavi.php');
if(
function_exists('wp_pagenavi')) { wp_pagenavi(); }
?>
</div>
dados is offline   Reply With Quote