Forums

Is there any way to remove nesting from comments in the code? (1 post)

  1. richarduk
    Member
    Posted 2 years ago #

    Hi,

    basically I want exactly the same output for my comments as already exists, but without the nesting for replies. Is this possible? I'm trying to create a custom callback in functions.php, using the codex example here: http://codex.wordpress.org/Template_Tags/wp_list_comments

    The nesting (div within div within div) really screws up design. Without the nesting I can simply use the depth-1, depth-2 etc. classes to indent the comments appropriately.

    Is there any way of removing this nesting?

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Topic