Archived

This topic is now archived and is closed to further replies.

  • 0

Resolved Problem With Pagination

Question

Posted · Report post

I have a custom loops for my static homepage (custom section)


class PageLinesPostLoopCustom extends PageLinesSection {

function section_template() {

query_posts( array(

	    'post_type' => array( 'post', 'custompost'),

	    'posts_per_page' => 6,

'paged' => get_query_var( 'page' )

)

);

$theposts = new PageLinesPosts();

$theposts->load_loop();

}

}

You can see it in action on my website. Problem is with pagination.

It shows /page/2/ and get stuck there, you can not display 3rd or 4th pagination page...

Share this post


Link to post
Share on other sites

2 answers to this question

Posted · Report post

Please see the other version of this topic for our reply.

Share this post


Link to post
Share on other sites

Posted · Report post

The topic was marked as resolved.

Share this post


Link to post
Share on other sites