Forums

[resolved] Can't Modify Comments? (3 posts)

  1. paul_fury
    Member
    Posted 2 years ago #

    Hello. I am customizing comments for my blog and have customized the comments.php file. However, I'm having a problem finding the template that is used to create each individual comment. It looks like word press just wants me to let...

    <?php wp_list_comments(); ?>

    handle everything with only being able to change certain style features by passing them in as arguments. I want more than this. I want to add my own code inside each comment and add separators between comments (but not at the end), and I want to change the layout of each individual comment.

    I'm sure people have done this before but I've searched and can not find any help on this. If someone could help me out here it would be much appreciated. Thank you.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You'll need to use the callback parameter to point to a custom function in functions.php.

    http://codex.wordpress.org/Template_Tags/wp_list_comments#Comments_Only_With_A_Custom_Comment_Display

  3. paul_fury
    Member
    Posted 2 years ago #

    Just what I was looking for. Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.