Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hello,
    i’m using this plugin, the pagination show up in the category page and the number of post is what specified in the code ( which is 5) however, when i want to go to the next page (page 2 ) i’ve got the page ‘404 not found‘, i know that there still be videos in my data base,
    i put the code mentioned in the file loop-content.php , `
    Here is the code
    hope you help me set it

    <?php

    $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    global $query_string;
    query_posts( $query_string .”&posts_per_page=5 &paged=$paged” );

    while (have_posts()) : the_post();
    get_template_part(‘item-video’);
    endwhile;

    if(function_exists(‘wp_paginate’)) {
    wp_paginate();

    }

    wp_reset_query();
    ?>

Viewing 1 replies (of 1 total)