Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 17th, 2010  |  syntax: PHP  |  size: 0.82 KB  |  views: 59  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // forums pagination at forums-loop.php bottom
  2. function tf_forums_pagination_links() {
  3. ?>
  4.  
  5.         <div class="pagination" style="margin:0;">
  6.  
  7.                 <div id="post-count" class="pag-count">
  8.                         <?php bp_forum_pagination_count() ?>
  9.                 </div>
  10.  
  11.                 <div class="pagination-links" id="topic-pag">
  12.                         <?php bp_forum_pagination() ?>
  13.                 </div>
  14.  
  15.         </div>
  16.        
  17. <?php
  18. }
  19. add_action('bp_after_directory_forums_list', 'tf_forums_pagination_links');
  20.  
  21. // blogs pagination at blogs-loop.php bottom
  22. function tf_blogs_pagination_links() {
  23. ?>
  24.  
  25.         <div class="pagination" style="margin:0;">
  26.  
  27.                 <div class="pag-count" id="blog-dir-count">
  28.                         <?php bp_blogs_pagination_count() ?>
  29.                 </div>
  30.  
  31.                 <div class="pagination-links" id="blog-dir-pag">
  32.                         <?php bp_blogs_pagination_links() ?>
  33.                 </div>
  34.  
  35.         </div>
  36.        
  37. <?php
  38. }
  39. add_action('bp_after_directory_blogs_list', 'tf_blogs_pagination_links');