http://sandbox.thekrazycouponlady.com/style/
See page, getting 2 loops over each other.
If I use this query, I only get one article and I need ten, paginated:
$query = new WP_Query( 'post_type=page' );
But when I use this:
global $wp_query;
query_posts( array(
'post_type' => 'style',
'showposts' => 10,
'paged' => $paged)
);
I get 2 loops overlaying each other.
I inherited this project from another developer that botched everything together, so I'm trying to fix all of the issues.
Any help would be appreciated.
WP_Queryhaspost_typeas 'page' andquery_postshaspost_typeas 'style'... Which do you exactly want to loop over? – Rutwick Gangurde Oct 14 '11 at 3:57