April 12, 2006
8:00 pm

This tutorial will explain how to change or hide the display of Trackbacks/Pingbacks in Wordpress. This is a follown post of  “Nicer trackbacks plugin” and post on “Improving comment section readability”.

  1. Open your Comments Template and look for the code below (it may look different, depending on your theme).
    [code]

  2. display code
    < ?php } ?>[/code]

    This will now only show comments on your site. People can still trackback/ping your site (if your permissions allow this) and you’ll receive notification, but they won’t clutter up the comments section.
  3. If you want to show Trackbacks/Pingbacks on your site, mixed in with the comments, but in a different style, after the code in Step 2, add:
    [code]< ?php else { ?>
    display code
    < ?php } ?>[/code]

    Remember that “display code” is replaced with the code in Step 1. Now, change this second lot of the display code to change the way Trackbacks/Pingbacks appear on your site. I have removed the body of the comment and just shows the link to their post:

    [code]

  4. -->

    Related Posts:

No followup yet

Leave a Response

Comment Preview

« Improving the readability of large numbers of commentsGoogle Opens Calendar Beta »

Feed Icon