Support » Fixing WordPress » Turn off comments on posts older than one month?

  • A friend of mine has been running WP on her blog for a few months now and wants to know if there’s a way to automatically turn off the comments on posts older than, say, a month without losing the comments that are already on there.

    If this is possible, can someone let me know!

    Thanks, Jo

Viewing 10 replies - 1 through 10 (of 10 total)
  • Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    The auto-shutoff comments plugin:
    http://wiki.wordpress.org/Auto%20shutoff%20comments

    does that work for pages as well? I’m looking for one that only works in posts and not pages.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    This one works for Posts and not Pages. 🙂 I have had it on my own blog for … uh… scratches head… almost a year now.

    Oh.. right,.. thanks 🙂

    Just a question, so if I installed this plugin now, like say I set the cut off date to 12 days, so my old posts which are older than 12 days will close off comments too, right?

    Thank you

    EDIT: I realise it doesn’t work for older posts?

    On this page

    http://wiki.wordpress.org/Auto%20shutoff%20comments

    there’s 2 part of code, I copy and paste the code which is the second part right? What about the first part?

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    It should.

    Erm, not working for me though 🙁

    Does it close off comments automatically after I activate the plugin? Or do I have to wait for some time?

    Edit: It worked after waiting for a while.. lol. thanks 🙂

    So I just copy and paste the whole thing into a .php file, save it and upload it to the plugins folder? or is it just the second bit of code?

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    The second bit of coloured text, right under 04 July 2004.

    I’ve been testing the plugin on my blog but I’ve just discovered that it breaks my feed. When I activate the plugin, I get this message if load my feed in my browser:

    XML Parsing Error: xml declaration not at start of external entity
    Location: http://www.josalmon.co.uk/feed/
    Line Number 1, Column 2: <?xml version="1.0" encoding="UTF-8"?>

    But when I deactivate it, the feed works fine.

    Any suggestions?

    Anyone?!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Turn off comments on posts older than one month?’ is closed to new replies.