[Plugin: BuddyPress Custom Posts] Paging issue
Hi, I am using your EventPress plugin with BuddyPress (all the latest versions). I added a type/index.php file to my theme in order to overwrite the default events directory page. (Let me know if there is a better way of doing this).
My issue is that I am using query_posts() to overwrite the query and encountered a paging issue. Here is my code:
$query = $wp_query->query_vars; $query['nopaging'] = 0; if( !$query['paged'] ) $query['paged'] = 1; query_posts($query);
I am using next_posts_link() and get a 404 regardless of permalink structure. Actually, I am being redirected to the homepage, but I assume it is because it cannot find the paged events page.
Any help would be appreciated… and thanks for the EventPress plugin. Great work!
- The topic ‘[Plugin: BuddyPress Custom Posts] Paging issue’ is closed to new replies.