Created
April 29, 2012 00:15
-
-
Save dylanized/2522844 to your computer and use it in GitHub Desktop.
WordPress default comment template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ol class="commentlist"> | |
<li class="comment byuser comment-author-admin bypostauthor even thread-even depth-1" id="comment-2"> | |
<div id="div-comment-2" class="comment-body"> | |
<div class="comment-author vcard"> | |
<img alt="" src="#" class="avatar avatar-32 photo" height="32" width="32"> | |
<cite class="fn">admin</cite> <span class="says">says:</span> | |
</div> | |
<div class="comment-meta commentmetadata"> | |
<a href="#">April 25, 2012 at 7:22 pm</a> <a class="comment-edit-link" href="#" title="Edit comment">(Edit)</a> | |
</div> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sit amet ornare massa. Etiam ac lorem justo. Curabitur ac augue sapien, vel sagittis nisl. Duis pretium condimentum hendrerit. Suspendisse ac tellus dui, venenatis laoreet ligula. Integer sapien est, venenatis vel bibendum quis, consectetur id odio. Curabitur mauris libero, rutrum non pharetra aliquam, suscipit id sapien.</p> | |
<div class="reply"> | |
<a class="comment-reply-link" href="#" onclick="return addComment.moveForm("div-comment-2", "2", "respond", "94")">Reply</a> | |
</div> | |
</div> | |
</li> | |
<li class="comment byuser comment-author-admin bypostauthor odd alt thread-odd thread-alt depth-1" id="comment-3"> | |
<div id="div-comment-3" class="comment-body"> | |
<div class="comment-author vcard"> | |
<img alt="" src="#" class="avatar avatar-32 photo" height="32" width="32"> <cite class="fn">admin</cite> <span class="says">says:</span> | |
</div> | |
<div class="comment-meta commentmetadata"> | |
<a href="#">April 25, 2012 at 7:22 pm</a> <a class="comment-edit-link" href="#" title="Edit comment">(Edit)</a> | |
</div> | |
<p>Et ligula. Integer sapien est, venenatis vel bibendum quis, consectetur id odio. Curabitur mauris libero, rutrum non pharetra aliquam, suscipit id sapien.</p> | |
<div class="reply"> | |
<a class="comment-reply-link" href="#" onclick="return addComment.moveForm("div-comment-3", "3", "respond", "94")">Reply</a> </div> | |
</div> | |
</li> | |
</ol> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an example of what WordPress kicks out by default when you run comments_template();
I cleaned up the indenting and removed all the links and img urls, but there is still a lot that smells bad about this snippet. Stashing it away so I can build my own custom template later as part of Bedrock