WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Disabling comments on posts based on date

[Resolved] Disabling comments on posts based on date

  • I’m looking for a WordPress Plugin that allows me to disable comments on posts published before a certain date.

    Basically it needs to do something like the line below, where the date should be something I can set.

    UPDATE wp_posts SET comment_status = 'closed' WHERE post_date < '2011-01-01' AND post_status = 'publish';

    I found the above query @ http://lrtm.nl/onv5OW (and here http://lrtm.nl/q8Ye4a), but is it available as a plugin?

    Thanks!
    Edde

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Disabling comments on posts based on date’ is closed to new replies.
Skip to toolbar