Advertisement
Guest User

bbpress Custom last_poster_block_topics

a guest
Jul 17th, 2012
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     /* Last poster / freshness block for topics */
  2.     public function custom_last_poster_block_topics() {
  3.         echo BBP_Default::custom_get_last_poster_block_topics();
  4.     }
  5.    
  6.         public function custom_get_last_poster_block_topics() {
  7.  
  8.                 $output .= "<div class='last-posted-topic-user'>";
  9.                 $output .= bbp_get_reply_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => '14' ) );
  10.                 $output .= "</div>";
  11.                 $output .= "<div class='last-posted-topic-time'>";
  12.                 $output .= bbp_get_topic_last_active_time( bbp_get_topic_last_active_id() );
  13.                 $output .= "</div>";
  14.            
  15.             return $output;
  16.        
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement