Reply To: Mashup of multiple categories fails

Home Forums MapPress Support Mashup of multiple categories fails Reply To: Mashup of multiple categories fails

#10197
Chris
Keymaster

Hi,

I think I see the problem: if you read the WordPress documentation carefully it mentions that category_name only takes a single slug as a parameter, not an array (list) of terms:

Here’s an excerpt from http://codex.wordpress.org/Class_Reference/WP_Query

  • category_name (string) – use category slug (NOT name).
  • category__and (array) – use category id.
  • category__in (array) – use category id.
  • category__not_in (array) – use category id.

There are a few examples in the mappress documentation.