Ferodynamics Network

popular: profile privacy, mobile privacy

December 10, 2008

Last week I heard about the difficulties that themers face in trying to effectively style the new threaded comments. There are a lot of nested lists and div tags, the hcard microformat for the commenter’s details and variable classes to give you a lot of styling options. On the surface they can seem pretty confusing but when you lay them out it is actually quite straightforward. The image below contains a breakdown of the html elements, the IDs and the classes that are applied to the various parts of the default 2.7 comment output.

2.7 Comment Structure

Where a number is inserted I have used n. For example, comment-n, or depth-n. It is also worth noting that many of classes are variable, that is, even/odd, byuser, bypostauthor, and so on will only be the case if the comment is numbered odd or even, if a user has commented, if the post author has commented. There are a number of other classes like this. It should be clear which ones are which.

In the main image about I haven’t included all the detail of the comment form itself. I have included that in here:

27commentform

If you have any questions or comments on this on this please let me know.

Quick N Dirty Admin Login Screen
no comment
page 128
Wordpress Chat
one comment
page 1308
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Silence Is Golden
3 comments
page 213
Questions About Habari For Wordpress Users
6 comments
page 424
Theming Habari Vs Wordpress
13 comments
page 440
My Experience Of Flexx
4 comments
page 1026
Plugin Update Fun With Photo Data 2
one comment
page 815
Post Image The Easy Peasy Way
26 comments
page 1065
Gaining Benefits From Plugins
8 comments
page 1167
Categories Vs Tags Either Neither Or Both
12 comments
page 7
Fun With Theme Widgets
24 comments
page 867
Beware Wp Cache
8 comments
page 1310
Six Million Ways To Die Choose One
14 comments
page 1128
Post Image The Easy Peasy Way
26 comments
page 1065
Post Image The Easy Peasy Way
26 comments
page 1065
Wordpress Chat
one comment
page 1308
Post Image The Easy Peasy Way
26 comments
page 1065
Beware Wp Cache
8 comments
page 1310
Wp Polls Reviewed
one comment
page 58
Wordpress Chat
one comment
page 1308
Fun With Photo Data
12 comments
page 330
Fun With Sidebar Tabs Styling
2 comments
page 336
Html 5 Gallery
6 comments
page 1305
Using Your Own Url Shortener
4 comments
page 1190
Html 5 Gallery
6 comments
page 1305
My Experience Of Flexx
4 comments
page 1026
Fun With Sidebar Tabs
193 comments
page 57
Html 5 Gallery
6 comments
page 1305
Fun With Plugins
27 comments
page 14
Wordpress 25 Exif Fields
12 comments
page 230
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
  updated 1 seconds ago
Monday, 2pm
Wordpress 2.7 ??????? – Betty

[...] ??????????????????????? Wordpress 2.7 ?????????????????????????????????????????????????????? ^^ [...]

Wednesday, 11pm
Slimmity

thanks alot :D now hope i can finaly finishi my them :)

Wednesday, 11pm
Andrew Rickmann

Slimmity, I have added the content that is added when you hit reply in Orange on the main form, then the detail of the form itself in pink below it.

Wednesday, 10pm
Slimmity

how about the comment form that is moved to the reply dive once you hit the link.. im having problems with that part :S