Guest User

Untitled

a guest
Dec 11th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <div class="promo-trips-container">
  2. <?php
  3. $args = array(
  4. 'post_type' => 'ausfluge',
  5. 'showposts' => 3,
  6. 'orderby' => 'rand',
  7. 'tax_query' => array(
  8. array(
  9. 'taxonomy' => 'reisezweck',
  10. 'field' => 'slug',
  11. 'terms' => array( 'mexiko', 'middle-america', 'south-america', 'other' ),
  12. ),
  13. ),
  14. );
  15. $trips_list = new WP_Query( $args );
  16. ?>
Add Comment
Please, Sign In to add comment