Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $args = array(
- 'posts_per_page' => -1,
- 'post_type' => 'news',
- 'orderby' => 'date',
- 'order' => 'DESC',
- 'category__not_in' => 160
- );
- $loop = new WP_Query( $args );
- <?php while ( $loop->have_posts() ) : $loop->the_post();?>
- ...
- <?php endwhile; ?>
Add Comment
Please, Sign In to add comment