Home › Forums › Back End › multiple loop issue – previous posts page is wrong!? › Re: multiple loop issue – previous posts page is wrong!?
January 13, 2010 at 7:20 am
#69350
silvers
Member
ok so i have been on a wordpress forum and got this info…
<?php
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
if ($paged < 2) {
// DO STUFF
}
?>
The guy basically said that this would say that this would check if it was page 1, and do stuff accordingly. I had a quick go and couldn’t work out how to use it with 2 loops because my knowledge is pretty lacking!
what do you think Doc? or anyone else that fancies being my hero!?!!?
Thank you!