Separating Trackbacks & Pingbacks in Wordpress 1.5 & Above

January 3rd, 2005

The code presented in this article is integrated in my freely downloadable theme, “Fauna“. In this theme the whole comment aspect has been cleaned up, codewise.

This code presented below works fine for Wordpress 1.5 and above, and is derived from the “Classic” theme.

Since upgrading from Wordpress 1.2, due to the way the new version handles trackbacks and pingbacks, I could no longer separate these from comments, as I used to do.

Here’s a way to do it that works in the new system.

The Code

To show separate trackbacks and pingbacks on a page in Wordpress 1.5 or above, you can replace the code in the default [themename]/comments.php with the following:

Please check out the trackbacks below to find ported / different versions.