Numbered comments – how to?
-
What theme are you using (link please)?
Link to my blog or to the theme?
This is the theme: http://gorillathemes.com/demo/celebritypress/
This is the blogIt looks like Greg’s Threaded Comment Numbering can make what I need, but I have tried… too much php… can’t make it :/
This is a premium theme and I don’t know how they show the comments. Have you tried their forums?
Yes, I asked and I am waiting for a reply, but it may take some time. I would like to have the numbers by the end of today, because of some contests and a post with more than 800 comments… people need to check what was their comments number and very few people want to count hundreds of comments 🙂
I hope this excerpt helps…
<div class="navigation"> <div class="alignleft"><?php previous_comments_link() ?></div> <div class="alignright"><?php next_comments_link() ?></div> </div> <div class="commWrap png"> <ol class="commentlist"> <?php wp_list_comments('type=comment&avatar_size=64'); ?> </ol> </div> <div class="commFoot png"></div>Are these comments paged or are all comments on the same page?
They are all on the same page, you can see it here: http://glamourina.pl/konkurs-wygraj-sukienke/
Try it with this in your theme’s functions.php:
and change
<?php wp_list_comments('type=comment&avatar_size=64'); ?>to<?php wp_list_comments('type=comment&callback=mytheme_comment'); ?>should I add that code that you gave me in the bottom of the functions.php?
And if I replace that code in the comments.php will it remove the gravatar? I would like to have the gravatar as well.
Yes that is ok. just before the end php end tag
?>(if you have one)Will it remove the gravatar?
Oh, I did it!! I didn’t replace the gravatars, but the images changed 🙁
I don’t have the monsterids anymore, I have the white/blue gravatar image 🙁And another thing….
intestead of this numbering:1) comment 1
2) comment 2
3) comment 3
4) reply to comment 3
5) reply to comment 3
6) reply to reply to comment 3
7) comment 4
8) comment 5it is using this numbering:
1) comment 1
2) comment 2
3) comment 3
3) reply to comment 3
3) reply to comment 3
3) reply to reply to comment 3
4) comment 4
5) comment 5How can I change it so that I have back the type=comment&avatar_size=64 and having the numbering so that every comment, also replies to comments will count as a new comment and get a new number?
Change this in the functions.php code
echo get_avatar($comment,$size='64',$default='<path_to_url>' );toecho get_avatar($comment,$size='64');Excellent one big point is resolved :)))
What about the second one?http://glamourina.pl/konkurs-wygraj-sukienke/
on that link there are 829 comments, I would like to have all of them numbered from 1 to 829…
The topic ‘Numbered comments – how to?’ is closed to new replies.
(@utnalove)
14 years, 10 months ago
Hello, I would like to have a number for each comment, where also replies are numbered as if they were stand-alone comments and not replies.
Eg:
1) comment 1
2) comment 2
3) comment 3
4) reply to comment 3
5) reply to comment 3
6) reply to reply to comment 3
7) comment 4
8) comment 5
I saw there is a plugin that instead helps making the following numeration:
1) comment 1
2) comment 2
3) comment 3
3.1) reply to comment 3
3.2) reply to comment 3
3.3) reply to reply to comment 3
4) comment 4
5) comment 5
I am interested in the first kind of comments numbering… is it possible to do that? How?
Thank you