Title: Brian Dainis (Curotec)'s Replies | WordPress.org

---

# Brian Dainis (Curotec)

  [  ](https://wordpress.org/support/users/curotec/)

 *   [Profile](https://wordpress.org/support/users/curotec/)
 *   [Topics Started](https://wordpress.org/support/users/curotec/topics/)
 *   [Replies Created](https://wordpress.org/support/users/curotec/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/curotec/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/curotec/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/curotec/engagements/)
 *   [Favorites](https://wordpress.org/support/users/curotec/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popular Posts] Limit number of posts per category](https://wordpress.org/support/topic/limit-number-of-posts-per-category/)
 *  [Brian Dainis (Curotec)](https://wordpress.org/support/users/curotec/)
 * (@curotec)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/limit-number-of-posts-per-category/#post-3312784)
 * I don’t know if your still having this issue, but I got it working for me by 
   doing this:
 *     ```
       <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular('posts_per_page=4'); ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to paginate custom taxonomy terms](https://wordpress.org/support/topic/how-to-paginate-taxonomy-terms/)
 *  [Brian Dainis (Curotec)](https://wordpress.org/support/users/curotec/)
 * (@curotec)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-paginate-taxonomy-terms/#post-3349490)
 * No problem!!! If you get stuck on something I’d be glad to help you debug it.
   Im subscribed to this feed, so Ill see more comments as they come in.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to paginate custom taxonomy terms](https://wordpress.org/support/topic/how-to-paginate-taxonomy-terms/)
 *  [Brian Dainis (Curotec)](https://wordpress.org/support/users/curotec/)
 * (@curotec)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-paginate-taxonomy-terms/#post-3349488)
 * > [@pippin](https://wordpress.org/support/users/pippin/) is there a way to grab
   > the total number of terms without specifying a specific number, as the number
   > of terms vary between each series. the only way to get your code to work is
   > if I add ” ‘number’ => 6 ” to the array but then it only shows 3 terms on the
   > first page and 3 terms on the second page even though there are more than those
   > 6. I hope I make sense and forgive me for my noob skill level.
 * You could run a loop before you run your loop that displays the total number 
   of items.
 * The first loop would count how many items are available and pass that number 
   to a variable, then your second loop prints the HTML code out foreach item, but
   uses the variable you established in the first loop to determine how many to 
   print.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to paginate custom taxonomy terms](https://wordpress.org/support/topic/how-to-paginate-taxonomy-terms/)
 *  [Brian Dainis (Curotec)](https://wordpress.org/support/users/curotec/)
 * (@curotec)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-paginate-taxonomy-terms/#post-3349487)
 * You could use something like [http://bxslider.com/](http://bxslider.com/) to 
   do the jquery part.
    Its really simple, look at their examples on there.
 * Also, check this out: [http://codex.wordpress.org/Function_Reference/get_taxonomies](http://codex.wordpress.org/Function_Reference/get_taxonomies)
 * For the PHP part, maybe something like this:
 *     ```
       <?php
       $taxonomies=get_taxonomies('','names');
       foreach ($taxonomies as $taxonomy ) {
         echo '<a href="#">'. $taxonomy. '</a><br><br>';
       }
       ?>
       ```
   
 * Then I’m thinking if you somehow put in a loop counter to add in a div every 
   10 items. So the formatted HTML looks like this:
 *     ```
       <div>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       </div>
       <div>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       </div>
       <div>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       <a href="#">Taxonomy</a><br><br>
       </div>
       [...]
       ```
   
 * You could then use bxslider to page through each div 1 at a time. Fading and 
   vertical or horizontal animations are built in to the script.
 * As for the loop counter part to add the div… Ive done it before, but I forget
   what i did off the top of my head.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to paginate custom taxonomy terms](https://wordpress.org/support/topic/how-to-paginate-taxonomy-terms/)
 *  [Brian Dainis (Curotec)](https://wordpress.org/support/users/curotec/)
 * (@curotec)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-paginate-taxonomy-terms/#post-3349480)
 * Another idea I just had is maybe you could pass the taxonomies to a foreach loop
   then iterate them out to lets say 100, if you want 10 pages of 10. Then use jQuery
   to separate them into 10 separate views to the user.
 * That way your not forcing WordPress to do something wild and you can still make
   it seamless to the user.
 * The user may prefer that anyway because then there is no lag between switching
   pages.

Viewing 5 replies - 1 through 5 (of 5 total)