Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $currentID = get_the_ID();
- $args = array(
- 'post_type' => 'nieuws',
- 'orderby' => 'date',
- 'post__not_in' => array($currentID),
- 'nieuwssoort' => current$term->slug,
- 'posts_per_page' => '7',
- );
- $the_query = new WP_Query( $args );
- ?>
- <?php if ( have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement