Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.
$myquery['tax_query'] = array(
  'relation' => 'OR',
    'taxonomy' => 'brands',
    'terms' => array('ALL'),
    'field' => 'slug',
    'taxonomy' => 'media',
    'terms' => array('news', 'events'),
    'field' => 'slug',

This is my code, here taxonomy = brands and media taxonomy 9 sub categories under "ALL" terms (in brands taxonomy) like Aspire , Gipsom , Lorah, etc.

I don't want to go the brands post to single page, 9 categories have diffrent wordpress page and template.in home page all media and brands taxonomies are showing , but how to link it to related wordpress page ?. Media is same as single page.

So how can i set permalink ?

share|improve this question
Your question is not clear. How do you determine the "different specified pages"? –  s_ha_dum May 6 '13 at 16:07
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.