Support » Plugin: WP-PageNavi » [Plugin: WP-PageNavi] Work on the home page, on the other does not work

  • Resolved Sergej


    First to say that I tried a lot of options around “query_posts” code modifications, but it seems that I’m not smart enough.

    Here’s what it is: pagination works perfectly on the home page, but on the other pages does not work. For example, when in the menu click on my blog – posts are displayed, but when I click on Page 2 (pagination) opens to 404 pages and i get message ‘The page you are looking for doesn’t exist.’

    Here’s my code from theme/index.php:

    $frontpage = false;
    $frontpage = true;

    else if(post_is_in_descendant_category($lcp_blog_id))
    else if(post_is_in_descendant_category($lcp_portfolio_id))
    else if(is_archive())
    else if( is_search() )


    Many thanks in advance for advice and help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sergej


    It does not matter, I resolved the problem.

    Number of posts per page should be equal to the preference for the theme and setting for the entire site.

    Two days I beat my head against the wall, but it seems that there is something in my head 🙂

    Woah! I am the king, I’ve removed the problem without help.

    Plugin Author scribu


    Congratulations 🙂

    I have a problem. That is: i want to show a diffrent post_per_page on a achiver page but wp_pagenavi doesn’t work correctly, my post_per_page argurment is not effect.
    Who can help me?
    Thank for your help 😀

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-PageNavi] Work on the home page, on the other does not work’ is closed to new replies.