1
Hello, I have a question in the condition of the constructor of the Wp_query() wordpress class
At the top of the blog I have a loop showing in a slider jquery the last 6 blog posts
$query1 = new WP_Query( "showposts=6" );
while ( $query1->have_posts()) : $query1->the_post();
so far correct, but in the body of the blog I would like to display only the posts that came before, ie.. the last 6 in the slider and the others in the blog listing the posts
The problem is that if I put the ascending order it takes the old posts first in the body of the blog
$query2 = new WP_Query( "order=ASC&showposts=+6" );
while ( $query2->have_posts()) : $query1->the_post();
The posts with the ID’s are from the following manteira in the slider: ID 10 - ID 9 - ID 8 - ID 7 - ID 6 - ID 5 - ID 4
And on the blog: ID: 1 ID: 2 ID: 3
Understand each ID as a post