Archived

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

  • 0

Resolved Pagination Error With Cpt

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

5 answers to this question

Posted · Report post

I thought this forum is called customization. but it seems we have diferent idea about what does it mean.

Share this post


Link to post
Share on other sites

Posted · Report post

I'm afraid we cannot diagnose your code. Please engage a Pro developer for this. The forum is not intended to provide support for custom code analysis. http://www.pagelines.com/pros

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

Posted · Report post

this is a question regarding pagelines configuration. My code is fine works for all custom post types, but is not working on a static home page

any idea why?

Share this post


Link to post
Share on other sites

Posted · Report post

Principally because you need a professional PageLines developer to implement changes and that is not something you're going to find in a moderated forum. Please engage a professional developer for all your customizations. We are here to help with problems, not with design or development issues. Thanks for your understanding and cooperation. This topic is marked resolved.

Share this post


Link to post
Share on other sites