George Georgiev
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom post and category template pagination problemHi this is the solution to my problem
add_action( ‘parse_query’,’changept’ );
function changept() {
if( is_category() && !is_admin() )
set_query_var( ‘post_type’, array( ‘menu-pub’, ‘new-pub’, ‘read-pub’, ‘awards-pub’, ‘live-pub’,’post’ ));
return;
}And put it in the functions file.
Forum: Fixing WordPress
In reply to: Custom post and category template pagination problemI also want to point that the template is category-slug.
Forum: Fixing WordPress
In reply to: Custom post and category template pagination problemThe same template i have duplicated in the page template and it works perfekt.
Forum: Fixing WordPress
In reply to: Custom post and category template pagination problemNo this generate the same thing… What can be the problem? I did not understand when i create post in the posts and attach to them the category it works really fine…
Forum: Fixing WordPress
In reply to: Custom post and category template pagination problemThe point is that when it has only the category it works fine but when we include the custom posts it has the problem. keesiemeijer i will try this. Thanks!
Forum: Fixing WordPress
In reply to: Custom post and category template pagination problemI have found that it start to work if i go to the posts and make more then the post_per_page post with that category.