This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jul 19th, 2013  |  syntax: None  |  size: 0.50 KB  |  views: 47  |  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.  
  2. <div class="sidebar-box">
  3. <div class="sidebar-title"><?php echo of_get_option('t-3', 'On the Forums' ); ?></div>
  4.  
  5. <div class="sidebar-box-child">
  6.  
  7.         <?php if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 5 ) ) ) : ?>
  8.                 <?php bbp_get_template_part( 'loop', 'mytopics' ); ?>
  9.         <?php else : ?>
  10.                 <?php bbp_get_template_part( 'feedback', 'no-topics' ); ?>
  11.         <?php endif; ?>
  12.  
  13. </div>
  14. <div class="clear"></div>
  15. </div>
clone this paste RAW Paste Data