Home › Forums › Theme support › Tyco Theme Portfolio Page Issue › Reply To: Tyco Theme Portfolio Page Issue
Hi,
unfortunately WordPress use another pagination for the homepage, thats why its not working.
To fix the problem, please open the file “portfolio-masonry.php in the root of the theme folder, go to line 46 and replace this:
query_posts(array( 'post_type' => 'portfolio', 'paged' => get_query_var('paged'), 'posts_per_page'=>$post_per_page ));
with this:
if ( get_query_var('paged') ) {
$paged = get_query_var('paged');
} elseif ( get_query_var('page') ) {
$paged = get_query_var('page');
} else {
$paged = 1;
}
query_posts(array( 'post_type' => 'portfolio', 'paged' => $paged, 'posts_per_page'=>$post_per_page ));
Normally this should solve the problem.