I have what I think is a simple question. I am using the code below to add the comment information to the top of my posts. I want the number of comments and the add comment image on the same line, but I need the two different class attributes intact. How can I change this code to do those two things. I’m pretty new to php if you couldn’t tell.
<div class="post-comments"> <li class="post-comments-count" title="View all 21 Comments"><?php comments_popup_link('0', '1', '%'); ?></li> <li class="post-comments-add"><a href="<?php the_permalink() ?>#respond" title="Add a Comment"><span></span>Add a Comment</a></li> </div>
- The topic ‘Alternitives to <li>’ is closed to new replies.