I notice that in WP blogs the comments order by continuous id (id=203, id=204 and so..).
while I understand the class names “parent” “child” – to sort the reply to thread, I didn’t figure out why the id’s are continuous – maybe to choose hide/show specific comments?
I notice that in WP blogs the comments order by continuous id (id=203, id=204
Share
You need to improve your question.
Comments have UNIQUE IDs because they are stored in their own table, and a One to Many relationship links the Posts with the Comments, thus, having a ‘global’ counter to them.
And so on, Post 1 has 2 comments, post 2 has one.