Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="ootd-stream">
- <?php $new_query = new WP_Query( 'cat=your_category_id&showposts=2' );
- if( $new_query->have_posts() ): while( $new_query->have_posts ): $new_query->the_post();
- the_post_thumbnail();
- endwhile;
- endif;
- wp_reset_query();
- ?>
- <p>outfit of the day</p>
- </div><!-- end ootd-stream -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement