2017-12-15 9 views
1

나는 영화에 관한 웹 사이트를 만들고 있습니다. 분류는 캐스트를 위해 to를 사용합니다. 예를 들면 :워드 프로세서에 대한 분류 표 표시

enter image description here

그래 쿨? : D 그러나 나는이 페이지에 설명을 보여주고 싶다. 나는 이것에 대해 이야기하고있다 : enter image description here

어떻게 만드나요?

<?php get_header(); ?> 

<div class="module"> 
    <?php get_template_part('inc/parts/sidebar'); ?> 
    <div class="content"> 


    <header><h1><?php printf(__('%s', 'mundothemes'), '' . single_tag_title('', false) . ''); ?></h1></header> 
    <div class="<?php if(is_tax('dtquality')) { echo 'slider'; } else { echo 'items'; } ?>"> 
     <?php if (have_posts()) :while (have_posts()) : the_post(); ?> 
      <?php if(is_tax('dtquality')) { get_template_part('inc/parts/item_b'); } else { get_template_part('inc/parts/item'); } ?> 
     <?php endwhile; endif; ?> 
    </div> 
<?php if (function_exists("pagination")) { pagination($additional_loop->max_num_pages); } ?> 
    </div> 
</div> 
<?php get_footer(); ?> 

답변

1

당신은 또한 $term_id$taxonomy