Tag Info

New answers tagged

0

You can do this with a built in WordPress query property $the_query->current_post (first post will be 0) without the need to setup a counter: <?php get_header(); ?> <?php $args = array( 'post_type' => 'question', 'order' => 'ASC' ); $the_query = new WP_Query( $args ); ?> <div class="wrap"> ...



Top 50 recent answers are included