Trying to customize the comments template from TwentyTen
-
Hi, this is a pretty “noob” question unfortunately so bare with me…
Ive created 3 themes from scratch now, however Ive never needed to implement the comments template until this project so this is a bit new to me. So with consideration to the fact that this is my first time using the comments template, Ive decided to try and make it easy on myself by simply copying over the existing comments.php and comments section of the functions.php templates to my theme.I understand how to get the comments template working and how to do basic CSS styling to dress it up a bit, but since my theme is totally custom – so are my comments stylings, and they dont mirror the way the original listed comments are marked up…
Normally this would be pretty easy for me since I know what Im looking at and what to safely delete, however Im still pretty new to messing with the functions template as well as php so Im a bit confused about a few things…For example,
*Ive dissected the source from the outputed comments in the html so I at least no where to look in the functions template, however I dont understand how certain parts of the markup work like when the
<li>
element is instantiated….I see it starts by opening the list tag, but then I cant seem to find the closing
</li>
tag…Can anyone explain whats going on there? Im assuming the php is helping complete that list tag but it makes no sense to me.*Also, any articles about the anatomy of the new comments template would be a big help if you know of any???….Ive looked through the codex but it still left me empty handed as a beginner to wordpress.
Thanks.
- The topic ‘Trying to customize the comments template from TwentyTen’ is closed to new replies.