WordPress.org

Support

Support » How-To and Troubleshooting » How to use different html structure for the first comment box in WordPress 2.7

How to use different html structure for the first comment box in WordPress 2.7

  • I have customized a theme that uses the New threaded comments feature of WP 2.7 and I noticed the comments.php template uses the wp_list_comments(); function to build the output for the comments of a post.

    I have a great idea for the theme and I would like to make the very first comment of a post to be a different html structure than the rest of the comments in the loop so I can customize the look of it.

    I could not find a way to accomplish this with css alone, so I was wondering if this possible using a custom comments function? If so, can someone provide me with example code and ideas?

  • The topic ‘How to use different html structure for the first comment box in WordPress 2.7’ is closed to new replies.