Elmsworth

ECP list view previous/next error

Jul 24th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.56 KB | None | 0 0
  1.     <?php if(!is_tax()) {
  2.                 query_posts(array(
  3.                     'eventDisplay'=>'upcoming',
  4.                     'post_type'=>'tribe_events',
  5.                     'posts_per_page'=>10,
  6.                     'tax_query'=>array(
  7.                         array(
  8.                             'taxonomy' => 'tribe_events_cat',
  9.                             'field' => 'id',
  10.                             'terms' => 102,
  11.                             'operator' => 'NOT IN'
  12.                         )
  13.                     )
  14.                 ));
  15.             }
  16.     if (have_posts()) : ?>
Advertisement
Add Comment
Please, Sign In to add comment