I am attempting to print numerous posts from multiple publish types. However, I can not appear to implement the pagination - after i visit .../category.../page/2 I recieve a webpage not found error. It appears enjoy it does not even attempt to read what's within my archive.php file.

I am 100% certain there is no trouble with permalinks, since I have attempted resetting them and etc.

I guess it's something related to the truth that in admin configurations the amount of posts per page is placed to 10, however i really should have the ability to edit the dpi dynamically.

I have attempted a variaty of fixes came from here, but non of these appear to operate: http://wordpress.org/support/topic/pagination-with-custom-post-type-getting-a-404?replies=1#post-1616810

I apologize whether it's highly repetitive question - none of other fixes I discovered labored for me personally.


That you can do something similar to this (not examined):

$posts_per_page = 10;
$post_type = 'YOUR_POST_TYPE'

$args = array( 'post_type'=> $post_type, 'posts_per_page' => $posts_per_page, 'paged' => get_query_var('paged') );

query_posts( $args );

// here loop