I have to get those posts which have one (none) of a particular group of specific categories.
For example, I want all posts with Apple, bananas, oranges, which have a range of greenbens.
How can I do this in Wordpress?
I think I have understood it.
= $ (= '' '' '' '' '' '' '1', 'orderbay' = & gt; 'rand', 'tax_corea' = & gt; array (' Relationship '= & gt;' and ', array (' relationship '= & gt;' post ',' post_ on_page '=>' range ',' category '=> gt; category', 'field' = & gt; 'Slug', 'terms' = & gt; 'Category-1'), array ('classification' = & gt; 'range', 'field' = & gt; 'slug', 'rule' => Category ''), array ('classification' = & gt; 'range', 'field' => gt; slug '' rule '=>' category-3 ',), array (' classification '= & Gt;' Category ',' Field '= & gt;' Slug ',' Rule '= & gt;' Category-4 ',),), Array (' Classification '=' Category ',' field '= & gt;' slug ',' rule '=>' Category-5 ',))););
No comments:
Post a Comment