The blog/home does not show page 2

Open the file blog.php in your theme folder and find this code

query_posts( 'cat=' . yit_get_excluded_categories() . '&posts_per_page=' . get_option( 'posts_per_page' ) . '&paged=' . $paged );

Change it to

query_posts( 'cat=' . yit_get_excluded_categories() . '&posts_per_page=' . get_option( 'posts_per_page' ) . '&page=' . $paged );

You can note the difference between paged in the first code and page in the second code.

Was this article helpful?
2 out of 2 found this helpful

Back to Help Center

Powered by Zendesk