Format comments
Sorry to be so slow (I've perused other threads that relate to my problem but can't figure out how they apply--hence this new thread) but I'm looking for a simple way to control the amount of space between commenter's names/avatars and the first line of their comment as well as the spacing between paragraphs. I'm using 3.3.2. Any help you could give would be most appreciated. Your theme absolutely rocks by the way!
|
add a CSS Insert
HTML Code:
/* space above paragraphs in comments */ |
Hello there,
Speaking of comments, commenters and avatars, I would like to keep the commenter's avatar on the left side of the comment box, and the commenter's name, date and text of the comment on the right side. (V 3.4.2) Basically, something like this: HTML Code:
AVATAR By John Citizen HTML Code:
AVATAR By John Citizen Have a good day :-) Alex |
You can add a CSS Insert
ul.commentlist p { margin-left: 70px; } |
It works fine. Thanks
|
1 Attachment(s)
I was looking to try and number each comment on the new atahualpa theme. I tried this with one of the plugins:
<!-- Do this for every comment --> <?php if ($bfa_ata['separate_trackbacks'] == "Yes") { wp_list_comments(array( 'avatar_size'=>$bfa_ata['avatar_size'], 'reply_text'=>__(' · Reply','atahualpa'), 'login_text'=>__('Log in to Reply','atahualpa'), 'callback' => gtcn_basic_callback, 'type' => 'comment', )); wp_list_comments(array( 'avatar_size'=>$bfa_ata['avatar_size'], 'reply_text'=>__(' · Reply','atahualpa'), 'login_text'=>__('Log in to Reply','atahualpa'), 'callback' => gtcn_basic_callback, 'type' => 'pings', )); } else { wp_list_comments(array( 'avatar_size'=>$bfa_ata['avatar_size'], 'reply_text'=>__(' · Reply','atahualpa'), 'login_text'=>__('Log in to Reply','atahualpa'), 'callback' => gtcn_basic_callback, 'type' => 'all', )); } ?> and replacing the comment code in the original php, this works, but the comments are now not formatted at all. does anyone know how to add format to the above code? or can you give me a link to the original comments.php that has been fixed to enable numbered comments? thanks! |
by the way, the attached above shows that this code is not the same as can be found on several sites, for the fix. Or I would have tried that. the php format is different.
I have found no help online for this particular version of code. again, thanks! |
What version of Atahualpa, WP and PHP?
what plugin did you use it with? Where did you put it? |
All times are GMT -6. The time now is 09:45 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.