Page Navigation Problem
-
Hello, I am using the Prestige Theme and made all the changes I need as said on other topics (if necessary) but I can’t make my homepage go to previous or next pages of posts. The url changes to page/2/ but the navigation says it is page 1 and the posts are from page 1.
I think this piece of code is important:
// prepeare posts query $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args=array('paged'=>$paged); if($blog_categories != '') { $args['cat'] = $blog_categories; } if($blog_authors_arg != '') { $args['author'] = $blog_authors_arg; } if($excluded != '') { $args['category__not_in'] = $excluded; } query_posts($args); $max_page = $wp_query->max_num_pages;What changes do I need to make?
Does the permalink structure affects it? I am using /%category%/%postname%/
Does the fact that I am using the a page as blog home page affects the navigation? mysite.com/home (page) -> mysite.com
Using the theme twentyten it works well.
The wp-pagenavi plugin also doesn’t work with the same problem.
-
Please somebody can help with this?
I’m not good with the code and I’m not familiar with the Prestige theme or its developer/designer.
You said it works with twentyten. I would try two or three other themes to see if it is working there. If so, then I would contact the Prestige theme developer, if you can.
Send me more info and I’ll see if I can help.
Hey I don’t know if you still need this, but you have to set Front Page Display.
Under Settings, go to Reading. Then set Front Page displays to a “Static Page” and choose the page you have your homepage content on.
hth
Hey Amisanoai,
Have you found a solution for the problem? ‘Cause I have the same problem as you (had) and I don’t find a solution.
Would be nice if you could help me please!
Best regards, Alex
No sorry.
I have the same problem.Could anyone help please???
The topic ‘Page Navigation Problem’ is closed to new replies.