Skip to:
Content
Pages
Categories
Search
Top
Bottom

Pagination Frustration – Outside the Activity Loop

  • @stevenkword

    Participant

    I am trying to add custom query pagination to the activity stream.
    http://www.domain.com/members/steven/page/2/
    However, I get re-directed to the homepage.

    for example:
    `
    $query_string = “author=$user_id&post_status=publish”;
    $myResult = query_posts($query_string);
    while ( have_posts() ) : the_post();
    echo “some code here”;
    endwhile;
    include (TEMPLATEPATH . ‘/paginate.php’);
    `
    I can display the proper pagination links (next page,prev page), but a page load of http://www.domain.com/members/steven/page/2/ re-directs to the homepage rather than displaying the 2nd page of my custom query results. I think that the activity stream pagination may be interfering or that query pagination is not hooked to the activity page.

    Anyone have any ideas on how to get pagination working on the activity stream?

  • The topic ‘Pagination Frustration – Outside the Activity Loop’ is closed to new replies.
Skip to toolbar