Limit Taxonomy Items to do Pagination of Taxonomy Items
-
Hi anyone can help me to make pagination with “Limit Taxonomy Items” like post pagination.
I have try many ways with custom loop but it only show Post form inside category(Taxonomy).
$terms = apply_filters( 'taxonomy-images-get-terms', '' ); //echo "<pre>"; //print_r($terms); //$currentcat=get_query_var('cat'); $categoriess= get_categories('child_of='.$currentcat.'&depth=1'); $catcount = count($categoriess); if($term->max_num_pages>1){ if ($paged > 1) { ?> <a href="<?php echo '?page=' . ($paged -1); //prev link ?>"><</a> <?php } for($i=1;$i<=$term->max_num_pages;$i++){?> foreach( (array) $terms as $term) { print "<div class='item_links'><a>taxonomy ) ) . ">" . wp_get_attachment_image( $term->image_id, 'detail' ) ."<span class='linkTxt'> ". ($term->name). " (" .($term->count).")</span></a></div>"; } } if($paged < $taxquery->max_num_pages){?> <a>">></a> <?php }
Please help me…..
- The topic ‘Limit Taxonomy Items to do Pagination of Taxonomy Items’ is closed to new replies.