I have updated 20 posts in wordpress theme. And i need to add my own text box after every 5 posts. So that i can add 4 text box after every 5 post.
I think it can be done by
$post_counter please any one give me a query for my question.
My code simply seems to,
<?php query_posts( array('posts_per_page'=>20,orderby=>post_date, order=>desc) ); while ( have_posts() ) : the_post(); ?> <?php the_title(); ?> <?php the_post_thumbnail(); ?> <?php endwhile; ?>