id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 14610,WP_query does() not generate next_posts_link(),jonshipman,,"Using the following code, WP_query does not seem to generate an 'Older Entries' link. However if I type /page/2 in the address bar previous_posts_link() does work (still no change to next_posts_link()). {{{ 1, 'category_name' => 'Portfolio', 'paged' => $paged ); $portfolio_q = new WP_Query($args); while ($portfolio_q->have_posts()) : $portfolio_q->the_post(); ?>
"">
}}} This next bit of code I've taken out WP_query and replaced it with query_posts() and it works as expected. {{{ 4, 'category_name' => 'Portfolio', 'paged' => $paged ); query_posts($args); while (have_posts()) : the_post(); ?>
"">
}}} The only issue I see is if WP_query isn't suppose to generate a next_posts_link, why is it generating the previous_posts_link? Not a big bug, but it's a discrepancy that needs to be addressed. ",defect (bug),closed,normal,,Query,3.0,minor,wontfix,,,