Separate Comments & Pings Plugin

download

Download Seperate Comments & Pings 1.0

865 bytes - WP 2.0-2.6
Updated March 7, 2009.

Separate Comments & Pings is a WordPress plugin that removes all pings and trackbacks from your comments pages and allows you to display them on their own, enhancing the flow of conversation. You can find more details about why you would want to do this in the guide to separating comments and pings.

To summarize:

  • Removes pings and trackbacks from comment pages
  • Makes pings and trackbacks available in a new variable $pings
  • Automatically adjusts comment count

Installation

The plugin is simple to install:

  1. Download separate-comments-pings.zip
  2. Unzip
  3. Upload separate-comments-pings directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin

This plugin is not compatible with the Paged Comments Plugin - you will need to read separating comments and pings article and implement the functionality independently.

Usage

Once the plugin is installed no pings or trackbacks will appear in your comments. Should you wish to display pings and trackbacks as a separate list then you will need to follow the details given in separating comments and pings.

Note that this plugin is no longer needed in WordPress 2.7+ as the functionality is provided by default.

20 Comments

  1. Jillian :

    Aug 4, 2007 11:55 am | Reply

    Thanks a bunch! Very helpful. :) Just wondering if there was a way so that, on the index page, it won't show '1 comments' when there's a trackback/ping? When you actually check the permalink the trackback doesn't appear int he comments, but it still shows as '1 comment' on the main page.

    Thanks!

  2. John( author ) :

    Aug 6, 2007 1:58 am | Reply

    There's not an easy way to remove pings from the value shown on the index page, at least not without impacting site performance.

  3. Allen :

    Sep 12, 2007 8:41 pm | Reply

    I tried this in my blog. Basically, I placed it in my plug-ins folder and activated it. How come it does not work? Do I need to do the manual edit of comments.php for this to work? :D

  4. John( author ) :

    Sep 15, 2007 4:49 am | Reply

    Just by installing the plugin you should see that pings are no longer included in your comments. If you want to display pings separately then you'll need to follow the details in the extra guide.

  5. Allen :

    Sep 17, 2007 10:06 pm | Reply

    I am currently using the plug-in Brian's Threaded comments (which requires you to change your comments.php file) and the pingbacks are still showing. However, if I revert back to the original comments.php file, the separate comments & pings plug-in works. These two plug-ins are not compatible with each other? :D

  6. Jamie :

    Sep 19, 2007 12:30 pm | Reply

    Very nice, simple, plugin. Thank You.

    What line of code do I need to use to get this to work on pages vs. the main index.php?

  7. John( author ) :

    Sep 19, 2007 9:07 pm | Reply

    The plugin should work on every page, Jamie. What effect are you trying to achieve?

  8. Jamie :

    Sep 19, 2007 11:23 pm | Reply

    I don't know LOL I have one particular thread that has a lot of ping backs. I downloaded your plugin, dropped it in my plugins folder.. then, activated it. Once active, I viewed my page with a lot of trackbacks/pings and all of them still appear... the page is http://tnchick.com/pshunt/ your plugin is currently active.

  9. Jamie :

    Sep 19, 2007 11:25 pm | Reply

    P.S. I use paged comments - perhaps that is my problem?

  10. David :

    Oct 21, 2007 10:23 am | Reply

    This plugin doesn't seem to work for me either, trackbacks still appear as normal.

  11. David :

    Oct 21, 2007 10:24 am | Reply

    P.S. That is with paged comments plugin running as well.

  12. John( author ) :

    Oct 23, 2007 3:15 am | Reply

    This plugin is not compatible with the paged comments plugin (I've made a note of this in the docs)

  13. Ganha :

    Mar 6, 2008 11:29 pm | Reply

    Hi, really nice plugin but i installed and activate it and nothing happend, i could not find any readme for any other instructions.
    thanks

  14. John( author ) :

    Mar 7, 2008 3:48 am | Reply

    Ganha, usage instructions are detailed in the page above

  15. Binh Nguyen :

    Sep 3, 2008 11:12 am | Reply

    I wish I saw this plugin earlier... It took me an hour to figure out and made the separation by myself... with different approach of course.

  16. SDK :

    Nov 12, 2008 5:51 pm | Reply

    Hi,

    This plugin worked great, except for one issue: the comments.php file will count the total number of comments AND pingbacks (even when pingbacks are hidden with this plugin)

    is there a way to tell WP not to count the pingbacks with this plugin installed?

    for example:

    11 comments for the post “Chocolate Orange Truffles” should actually read
    10 comments for the post “Chocolate Orange Truffles” (as the pingback is hidden)

    Thanks!

  17. SDK :

    Nov 18, 2008 4:09 pm | Reply

    anybody?

  18. Tracy :

    Jan 6, 2009 6:08 pm | Reply

    Does anyone know if this works with wordpress 2.7?

  19. John( author ) :

    Jan 8, 2009 3:05 pm | Reply

    WordPress 2.7 has this functionality built in

Pings & Trackbacks

wp-plugins-db.org, milienzo.com, wp-plugins-db.org, techathand.net, stefan-persson.se, techathand.net, thepowerblogger.com, midasoracle.org, scottbradford.us, anidandesign.com, mrgray.id.au, blog.urbanmainframe.com, wp-plugin-archive.de, reapmoneyonline.com, personalmag.rs, kreativen.com, jamieharrop.com, bloggingzest.com, geekestateblog.com,

Leave a Reply


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Home | Main content | Software | Terms & Conditions | Sitemap | John Godley © 2010