Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress Custom Loop Re: WordPress Custom Loop

#139948
pixelgrid
Participant

try this

$wp_query = null;
$wp_query = new WP_Query();
$wp_query->query(‘cat=4’);
?>
div class=”row”>
have_posts() ) : $wp_query->the_post(); ?>

ID, ‘full’); ?>

“>

$i++; endwhile; // end of the loop. ?>