$wp_query = new WP_Query(); $wp_query->query('showposts=3' . '&paged='.$paged);
while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
$pageNum=(get_query_var('paged')) ? get_query_var('paged') : 1;
$paged=(get_query_var('paged')) ? get_query_var('paged') : 1;
$wp_query = new WP_Query(array('posts_per_page'=>3,'paged'=>$paged));
if ( $wp_query ->have_posts() ) {
while ( $wp_query ->have_posts() ) {
$wp_query ->the_post();
$paged = (get_query_var('page')) ? get_query_var('page') : 1;