Select Fix Category Post With New Custom Query Code

Select Fix Category Post With New Custom Query Code

<?php $my_query = new WP_Query(‘category_name=

Trailer&showposts=4′); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); { ?>
YOUR DATA

<?php } endwhile; ?>

Share This Post

3 thoughts on “Select Fix Category Post With New Custom Query Code

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.