如何为wordpress分类法添加分页

时间:2017-12-05 13:54:50

标签: wordpress pagination posts

 $term_list = get_terms( 'artwork-artists', 
                        array( 'orderby'=>$orderby, 
                        'order'=>$order, 
                        'hide_empty'=>0, 
                        'number'=>$number, 
                        'include'=>$includes, 
                        'exclude'=> $excludes
                        )
                    ); 
 if(!empty( $instance['shuffle'])) {
    foreach( $term_list as $term ) { 
        $term_link = get_term_link($term->slug, 'artwork- artists'); 
        $t_id = $term->term_id;
        $term_meta = get_option($term->taxonomy .  $t_id . "_image_term_id"); 
        }
 }

我有邮政类型的艺术品,它具有艺术品的分类 - 艺术家需要对艺术家分类法进行分页

0 个答案:

没有答案