Subscribe to Posts  Subscribe to Comments

Separate Comments from Trackbacks

I have a few posts that have a fair amount of trackbacks on them and it becomes extremely annoying when there is a decent conversation going in the comments. I noticed on a few sites that they had the comments and trackbacks separated so that the conversation could flow better. So i decided to go out and look for a plugin that would help me do the same.

Didn’t take long to find a plugin that would take care of this nasty annoyance. The directions on what to do are a bit sketchy though so i figured I’d give you a more in depth breakdown in how to get it up and working.

    1. Download the TrackbackList Plugin v1.3
    2. Upload the zip file to your plugins directory.
    3. Go into your comments.php file and place this code:

    <?php trackback_list() ?>

    directly before this code:

    <?php if ($comments) : ?>

    if you want your trackbacks to appear before your comments.

    4. Then find this code in the same file:

    <?php foreach ($comments as $comment) : ?>

    and replace with:

    <?php foreach ($comments as $comment) : if (get_comment_type() == "comment") : ?>

    AND

    Replace this code:

    <?php endforeach; ?>

    with this:

    <?php endif; endforeach; ?>

    5. activate the plugin on your WP dashboard.

If you did it this way you should be able to see the results immediately on a post that has trackbacks. Remember if you don’t have any trackbacks on a post you won’t see anything! An example of it on my site could be found in this Chacha Pranksters post. They show up in a list right before the comments begin.

You can place it anywhere you want actually on the single page, but I like it before the comments. You would just have to tinker with placement of this code: <?php trackback_list() ?>. You can also make changes to the way they appear there, but I like it as the list form rather than having it show a bit of a snippet. It will look different on different templates so you can make adjustments to the style any way you choose. After adding this one I couldn’t believe I had waited so long to find a Wordpress Plugin that actually accomplished this goal for me.

Spread the Word

del.icio.us Digg Furl Reddit Ask Google Netscape Sphere StumbleUpon Technorati Help

Enjoy this post? Subscribe to the RSS Feed

Related Entries:

  • Edit Comments Wordpress Plugin for Readers!
  • Comment Email Responder
  • MyAvatars Wordpress Plugin for Comments
  • Most Amazing Space Discoveries of 2007
  • Google Sitemap Generator Plugin for Wordpress

  • Trackbacks

    5 Responses to “Separate Comments from Trackbacks”

    1. MyAvatars 0.2

      I like the idea of this plugin as it seems the trackbacks do confuse many users.

    2. MyAvatars 0.2

      Ahh.. a wonderful plug-in.
      Trackbacks don’t add anything to discussions and just take up space… but I like having them so this is the perfect solution!

    3. MyAvatars 0.2

      I have been wondering how to do this, thanks!!

    Leave a Reply