Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args = array(
- 'category__and' => array( 2, 6 ),
- 'post_type' => 'aree'
- );
- $query = new WP_Query( $args );
- ?>
- <?php while ( $query->have_posts() ) : $query->the_post(); ?>
- <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
- <?php the_excerpt(); ?>
- <?php endwhile; ?>
Add Comment
Please, Sign In to add comment