Still doesn't work :(
Here is what I did again:
1. I added the CSS code above (Speech bubbles) into style.css
2. I added the following function to functions.php:
function baloon_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div id="comment-<?php comment_ID(); ?>">
<div class="comment-author vcard">
<?php echo get_avatar($comment,$size='48',$default='<path_to_url>' ); ?>
<?php printf(__('<cite class="fn">%s</cite> <span class="says">says:</span>'), get_comment_author_link()) ?>
</div>
<?php if ($comment->comment_approved == '0') : ?>
<em><?php _e('Your comment is awaiting moderation.') ?></em>
<br />
<?php endif; ?>
<div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),' ','') ?></div>
<div class="commenttext>
<b class="tl"><b class="tr"></b></b>
<?php comment_text() ?>
<b class="bl"></b>
<b class="br"><b class="point"></b></b>
</div>
<div class="reply">
<?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
</div>
</div>
<?php
}
3. I call the previous function from comments.php:
<ol class="commentlist">
<?php wp_list_comments('type=comment&callback=baloon_comment'); ?>
<!-- <?php wp_list_comments(); ?> -->
</ol>
RESULTS
No baloons displayed. I can even see the correct code displayed for comments on my website:
<div class="commenttext> <b class="tl"><b class="tr"></b></b>
<p>Thanks for sharing the button; I am planning to use it in my site.</p>
<b class="bl"></b> <b class="br"><b class="point"></b></b> </div>
and the images have been uploaded into the folder image/bubbles as required by the CSS, for example:
http://www.milkaddict.com/wp-content/themes/whitehouse/images/bubbles/b_bg2.png
Do you have any idea why it still doesn't display the baloons?
Hopefully we are close this time!
thanksss
adri