Skip to:
Content
Pages
Categories
Search
Top
Bottom

wordpress posts pagination


  • mattg123
    Participant

    @mattg123

    Hi,

    I’ve been trying to get pagination to work within the buddypress profile bar.
    <?php
    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    $items = 5;
    $args=array(
    'posts_per_page' => $items,
    'category__not_in' => get_option('pheno_blog_cats'),
    'paged' => $paged
    );
    query_posts($args);
    ?>

    This code won’t work so I’m assuming buddypress is using some kind of loop to stop the pagination, has anyone got any idea how to solve this, if it’s solvable at all?

  • The topic ‘wordpress posts pagination’ is closed to new replies.
Skip to toolbar