how link multiple custom taxonomy posts to specified page
-
<?php $myquery['tax_query'] = array( 'relation' => 'OR', array( 'taxonomy' => 'brands', 'terms' => array('ALL'), 'field' => 'slug', ), array( 'taxonomy' => 'media', 'terms' => array('news', 'events'), 'field' => 'slug', ), ); query_posts($myquery); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <div class="so-post-hom"> <h2 class="post-title"><?php the_title();?></h2> <div class="post-bar"> ">Go! <?php endwhile; else: ?> <?php endif; ?>
This may 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 ,but each pages have to go different specified pages.
media is same as single page.
So how can i set permalink ?-Thank you-
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘how link multiple custom taxonomy posts to specified page’ is closed to new replies.