0

This question already has an answer here:

I made ​​a separate page template (added sidebar), this page contains all the posts. Pagination works! But, if this page set as the home page, pagination is not working! Please help find solutions myself I can not ...

This my code This code of my custom posts page

This code of my pagination

marked as duplicate by Chip Bennett, fuxia Feb 10 '13 at 2:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0
<?php query_posts( array(
 'posts_per_page' => 15,
 'paged' => ( get_query_var('paged') ? get_query_var('paged') : 1 ),
));
?>

It worked for me. You can change the posts_per_page numbers according to whatever you want.

Not the answer you're looking for? Browse other questions tagged or ask your own question.