WordPress.org

Ready to get started?Download WordPress

Forums

Page navigation keeps landing on same page (3 posts)

  1. denga
    Member
    Posted 3 years ago #

    I have a website - perekz.com/vid

    I used several different navigation pluginss such as "wp-navi" and "pagebar". They show up well on my page but when I click them, they keep landing on the same page. For example, "www.perekz.com/vid" and "http://www.perekz.com/vid/?paged=2" are exactly the same.

    Can you please help me out?

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    do you use a custom quey in the front page? (index.php ?)

    the pagination parameter might be missing.

    http://codex.wordpress.org/Function_Reference/query_posts#Pagination_Parameters

    example how to integrate the 'paged' parameter:

    <?php wp_reset_query();
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; // pagination
    
    $args = array(
    'cat' => 9,
    'paged' => $paged
    );
    query_posts($args); 	?>
    
    <?php if (have_posts()) : ..............

    example only - your query might look different.

    if you have trouble integrating this, paste the code of your template file into a http://wordpress.pastebin.com/ and post the link to it here.

  3. denga
    Member
    Posted 3 years ago #

    I'm a newbie, so I have no idea what this means :). Here's the link to my home.php

    http://wordpress.pastebin.com/EBFfcT2C

Topic Closed

This topic has been closed to new replies.

About this Topic