/ Published in: PHP
                    
                                        Thanks to @kaiser on WP answers for this.
Place this function in your functions.php file, then use it in your template with the function call like:
wpse19316_author_comments( 100 );
                Place this function in your functions.php file, then use it in your template with the function call like:
wpse19316_author_comments( 100 );
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 function wpse19316_author_comments( $length ) { $final_length = (int) $length; foreach ( $author_comments as $comment ) { $comment_length = sublen( $comment->comment_content ); $comment_excerpt = $comment->comment_content; if ( $comment_length > $final_length ) echo $comment_excerpt.'<br />'; } }
URL: http://wordpress.stackexchange.com/questions/19316/recent-comments-on-author-page
Comments
                    Subscribe to comments
                
                