My improved Pingbacks/Trackbacks & Comments separation for WordPress 2.0

Rachel Runcliffe posted a topic on separating Pingbaks/Trackbacks from Comments in WordPress 2.0 … now, I’ve improved this thingy by implementing a third loop which first counts the number of Pingbacks/Trackbacks & Comments so that the HTML still remains valid. Anywho, here goes

Procedure to install this still remains the same: edit the comments template of your current wp-theme. Copy the piece of code below and paste it over the current comments loop…

[code]

Trackbacks/Pings



  1. /

    comment_approved == ‘0’) : ?>
    Your comment is awaiting moderation.



Comments



  1. /

    comment_approved == ‘0’) : ?>
    Your comment is awaiting moderation.




[/code]

Happy copy-n-pasting!

Webdevelopment

6 Responses to My improved Pingbacks/Trackbacks & Comments separation for WordPress 2.0

  1. manuel says:

    gotcha! mee trackbacked y00! eh- got a new cell? msg’ed you- no reply. scouting?

  2. Pingback: blogbox.ch » » Tolle Sache: Kommentar und Trackback getrennt

  3. Will says:

    Hey,

    Nice fix! πŸ™‚

    Just one little problem with this bad boy, it shows pings/trackbacks as comments on the home page. That is it shows for example, “three are 3 comments” . When in fact there is 1 trackback and two comments. πŸ™

    Any idea on how to fix?

    Thanks,

    Will

  4. Pingback: Markgrafendamm » Trackbacks vor den Kommentaren

  5. Handy Solo says:

    Good stuff! Thanks for sharing. πŸ™‚

  6. Pingback: trellis » Blog Archive » my brain is pouring out

Leave a Reply

Your email address will not be published. Required fields are marked *