The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Separate Comments and Pingbacks/Trackbacks using TwentyTen

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #30923

    There are a ton of tutorials about separating comments and trackbacks/pingbacks using previous versions of WordPress but I have not been able to find any on how to do it using the TwentyTen comments call back. Does anyone know how to do this? It’s easy to simply style them differently in the case structure but not to completely separate them…

    Thanks for the help!


    You could call the ‘wp_list_comments()’ twice, but with a different ‘type’ parameter.

    'callback' => 'comment_function',
    'type' => 'comment'
    )); ?>
    'callback' => 'comment_function',
    'type' => 'pings'
    )); ?>

    You could also write two functions to handle the different types, but just by using these two function calls in ‘comment.php’, in different locations you can separate comments and pingbacks.


Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.