<h3>Recent Comments</h3>
<ul><?php wp_recentcomments(); ?></ul>
OR
<h3>Recent Comments</h3>
<ul><?php echo wp_recentcomments($args='', $echo=false); ?></ul>
Arguments:
NAME TYPE DESCRIPTION DEFAULT VERSIONS
limit integer The number of comments. 5 1.0+
length integer The length of each comment 50 1.1+
excerpt.
post true/false Show the post titles. true 1.1+
pingback true/false Show the pingback comments. true 1.1+
trackback true/false Show the trackback comments. true 1.4.3+
avatar true/false Show author avatars. true 1.1+
avatar_size integer The size of avatars. 32 1.1+
avatar_position left/right The position of avatars. left 1.1+
avatar_default string The default avatar. 1.4.1+
navigator true/false Show navigator buttons. true 1.3+
administrator true/false Show the comments from true 1.4.2+
administrators.
smilies true/false Show smilies as graphic icons. false 1.6+
Default Avatar:
Using Examples:
<?php wp_recentcomments('limit=10&length=20&post=false'); ?>
<?php wp_recentcomments('pingback=false&navigator=true&administrator=false'); ?>
<?php wp_recentcomments('avatar=true&avatar_size=16&avatar_position=right'); ?>
<?php wp_recentcomments('avatar=true&avatar_default=default.jpg'); ?>
<?php wp_recentcomments('avatar=true&avatar_default=http://www.neoease.com/avatar.gif'); ?>
Custom CSS:




