Issue with front page navigation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1094
    ArnaudkArnaudk
    Member

    Hi,

    First of all, my website is: http://blog.vadequa.com

    The problem is, when i hit [2] to go on the second page of the homepage (blog.vadequa.com/page/2) it “redirects” me to the same homepage.

    No problems with navigation in categories (http://blog.vadequa.com/category/sciences/page/2/ work!)

    My permalink structure is “/%postname%/”, I try to set to default but this change nothing.

    My homepage is a page set to “Blog Template”.

    Any idea ?

    Thanks

    #1101
    Livemeshlivemesh
    Keymaster

    Hi, this is a bug which happens when using the page template blog on home page only. The fix will be part of update this week. Meanwhile, pls locate the file template-blog.php in the theme folder and replace the line number 13 –

    $paged = get_query_var('paged') ? get_query_var('paged') : 1;
    

    with

    if (get_query_var('paged')) {
        $paged = get_query_var('paged');
    }
    else if (get_query_var('page')) {
        $paged = get_query_var('page');
    }
    else {
        $paged = 1;
    }
    

    Thanks for bring this to my notice.

    #1137
    ArnaudkArnaudk
    Member

    Thanks for the new version, it’s work!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.