' . $readmore . ''; } add_action('excerpt_more', 'aspace_excerpt_more'); function sow_max_title_length( $title ) { $max = 20; if( strlen( $title ) > $max ) { return substr( $title, 0, $max ). " …"; } else { return $title; } } function aspace_comments_callback($comment, $args, $depth) { $tag = ('div' === $args['style']) ? 'div' : 'li'; ?> < id="comment-" >
'div-comment', 'depth' => $depth, 'max_depth' => $args['max_depth'], 'before' => '
', 'after' => '
' ))); ?>