Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

WP_Query and tax_query issue

By: WazzaJB on Sep 19th, 2013  |  syntax: PHP  |  size: 0.64 KB  |  hits: 54  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Array
  2. (
  3.     [numberposts] => 20
  4.     [show_posts] => 20
  5.     [post_count] => 20
  6.     [posts_per_page] => 20
  7.     [offset] => 0
  8.     [s] => heart
  9.     [post_type] => shopp_product
  10.     [post_status] => publish
  11.     [suppress_filters] =>
  12.     [tax_query] => Array
  13.         (
  14.             [relation] => AND
  15.             [0] => Array
  16.                 (
  17.                     [taxonomy] => shopp_category
  18.                     [field] => id
  19.                     [terms] => Array
  20.                         (
  21.                             [0] => 29
  22.                         )
  23.  
  24.                 )
  25.  
  26.         )
  27.  
  28. )